Authorize Client
Loading...
API endpoint path: /v1/client-authorization
Returns the approved OAuth scopes, Apigee application identifier, and authorization-flow policy for a client application. This endpoint is typically called before generating an authorization code to determine which security, consent, and device requirements apply.
Requests must use application/x-www-form-urlencoded encoding and include a valid Bearer
access token in the Authorization header.
Use this endpoint to:
- Retrieve the OAuth scopes approved for a client application before starting the authorization code flow.
- Determine whether multi-factor authentication, user consent, or device registration is required.
- Validate that a client application is properly configured to use the
authorization_codegrant. - Drive the authorization user experience based on client-specific policy flags.
Behavior and requirements:
- Returns approved scopes from the client application's
allowed-scopes, Apigee application identifier (appId), and authorization flow policy details inadditional_info. - The
additional_infoobject includessecondary_authentication_enabled,consent_enabled, anddevice_registration_enabledflags that indicate required authorization steps. - The client application must be configured with the
authorization_codegrant type and a validallowed-scopesattribute.
Note: After reviewing the response, call Generate Authorization Code to issue the authorization code.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error