An authorization code is a string that is used to request an access token associated with a user account. It is required in user authentication flows that adhere to the OAuth2.0 authorization
grant type.
Authorization codes are obtained from the authorization endpoint by making a request with the response
parameter set to code
. The request will render a "Sign in with ArcGIS" page that prompts application users to sign in with an ArcGIS account. Once a user successfully authenticates, the endpoint returns an authorization code to the provided callback
.
Related terms
- user authentication
- authorization endpoint
- token endpoint