OAuth - Implicit Grant and flow

> Software Security > (Authentication|Access control|Identification) - AuthN > Oauth 2.0 - Authorization framework

1 - About

The implicit grant is a grant type that issued directly an access token. (It does not support the issuance of refresh tokens).

This grant type is called implicit, as no intermediate credentials (such as an authorization code) are issued).

It's indirect and redirection-based flow that is optimized for clients implemented in a browser using a scripting language such as JavaScript.

The implicit grant type does not include client authentication, and relies on:

Advertising

3 - Pro and Cons

Implicit grants improve the responsiveness and efficiency of some clients (such as a client implemented as an in-browser application), since it reduces the number of round trips required to obtain an access token. However, this convenience should be weighed against the security implications of using implicit grants, such as those described in Sections 10.3 and 10.16, especially when the authorization code grant type is available.

Because the access token is encoded into the redirection URI, it may be exposed to the resource owner and other applications residing on the same device.

4 - Flow

5 - Documentation / Reference

security/auth/oauth/implicit.txt · Last modified: 2019/04/30 21:15 by gerardnico