Hybrid Flow: Issuing access tokens with subset of requested scopes


You can use OpenID Connect's "Hybrid" flow to issue two access tokens for a client which constitutes a native application (e.g. mobile app) and an web application (e.g. app backend) with single authorization request. In some cases you might want to issue an access token with subset of requested scopes for the native app to minimize security risks in such a public client. 

Authlete itself doesn't manage subsets of scopes though, you can generate narrow-scoped access tokens by doing an additional API request from your authorization server frontend to Authlete after minting tokens.

Instruction Examples

How did we do with this article?