Authorize

Get an authorization code from identity server.

Get an authorization code from identity server.

Request
query Parameters
client_id
required
string

The client id.

scope
required
string

One or more registered scopes.

redirect_uri
required
string

One of the allowed redirect URIs for the client.

response_type
required
string

The response type. Use code to request an authorization code.

state
string

A random string. Identity server will echo back the state value on the token response.

Responses
302

If all goes well, you'll receive an HTTP 302 response. The authorization code is included at the end of the URL.

HTTP/1.1 302 Found
Location: https://YOUR_APP/callback?code=AUTHORIZATION_CODE&state=xyzABC123

get/connect/authorize
Request samples