OAuth2 Implicit Flow#

The Implicit Flow lets the client fetch access or ID tokens directly from the OAuth API.


Fetching ID token using implicit flow#

  1. The user agent (browser) access the application, on e.g. https://my.application, and is redirected to the Argus OAuth authorization page, requesting authorization with response type “id_token” and scope “openid”

  2. If not logged into Argus, the user is redirected to the Argus Login page, and then back to the OAuth authorization page

  3. If the current user is permitted to access the specified client, Argus issues an ID token, and redirects the user back to the redirectURI:


The client application can decode and verify the ID token, which is signed by Argus IdP. This will contain claims about the user, which the client can trust to authenticate the user, and use information in the claims to determine user permissions or behaviour.


Fetching ID token is only supported when enabling OpenID connect, using scope “openid”. See OpenID Connect for more details about available claims.

Fetching access token using implicit flow#

Using the same flow as above, with response_type=token, will return an access token directly to the browser.

This is however not recommented for browser clients, as it exposes the access token.