By: Shikha Mishra Account Admin 27 Sep 2017 at 2:38 a.m. CDT

1 Response
Shikha Mishra gravatar
how to get an user authenticated via api and receive a token along with expiry time which can be used for subsequent calls, along with this we need another api for refreshing the token.

By Michael Schwartz Account Admin 27 Sep 2017 at 3:58 p.m. CDT

Michael Schwartz gravatar
SSO is in the browser, and is for Gluu Server use only. An OpenID Connect access tokens are client specific. One client would never share a token with another client. All modern federated authentication protocols are accomplished via redirect to the IDP. There are both front channel (browser) and back channel (API) calls involved in this flow. Please read this article: [http://www.gluu.co/know-your-audience](http://www.gluu.co/know-your-audience) And read up on how OAuth 2 and OpenID Connect work, and repose a more specific question.