Response Types
When specifying the response type, different data may be returned.
For instance, to receive the identity token, specify id_token
for the response type.
To receive the access token, specify token
in the response type. If id_token+token
is specified as the response type, both the id token and access token will be provided in the response from the token server.
To return the token type 'Bearer', reference token_type
in the return statement. To return the access token itself, reference access_token
in the return statement.
For more information on how these tokens are used, refer to the diagram in the Authentication section.