OAuth 2.0 Playground - Authorization Code
This section of the OAuth 2.0 Playground allows users to test the Authorization Code Flow of OAuth 2.0, primarily used for web and mobile applications where the client can securely interact with the authorization server to obtain an access token.
Refer to this document for more information about this API
¶ Request Parameters
Parameter | Description |
---|---|
response_type |
OAuth 2.0 response type. You should use code for this example |
scope |
Space delimited list of grant scopes you would like to have permission to access on behalf of the user. Common ones are openid and profile scopes. |
state (optional) |
State which will be passed back to you to prevent tampering. |
prompt (optional) |
login is the only acceptable input at this time. When specified, always prompts the user to re-authenticate even if their browser session is already logged in to Uber. |
redirect_uri |
The URI we will redirect back to after an authorization by the resource owner. The base of the URI must match the redirect_uri used during the registration of your application. If none is provided the default is the first redirect URI provided in the application’s dashboard. It is invalid to provide no redirect uri and have none in the dashboard. |
¶ Step-by-step
-
At first fill out all the required fields in this page and click on the Authorize button
-
After clicking the Authorize button you are going to be redirected to the consent screen where it’s going to request permissions for the scopes selected
-
When you click allow, the page will redirect you to the Get an access token page, please, follow this link to complete the Step-by-step guide