Overview#
Response Mode (Response_mode) is an OPTIONAL OAuth Authorization Request parameter that informs the Authorization Server of the mechanism to be used for returning Authorization Response parameters from the Authorization_endpoint.The use of this parameter is NOT RECOMMENDED with a value that specifies the same Response Mode as the default Response Mode for the Response_type used.
This specification defines the following Response Modes, which are described with their Response_mode parameter values:
- query - In this Response_mode, Authorization Response parameters are encoded in the query string added to the redirect_uri when redirecting back to the OAuth Client.
- fragment - In this Response_mode, Authorization Response parameters are encoded in the fragment added to the redirect_uri when redirecting back to the OAuth Client.
default Response_mode#
The default Response Mode is dependent on the response_type provided by the OAuth Client:response_type | default Response_mode |
---|---|
code | query |
token | fragment |