Skip to main content

Requests an authorization code from the current user

PATCH 

/oauth2server/oauth/authorize

Requests an authorization code from the current user. The user will be redirected to the specified redirect uri with the authorization code as a parameter.

Example:

curl -i -H "Cookie: SSOcookie: 123456789"
https://localhost:8080/oauth2server/oauth/authorize?response_type=code&client_id=SampleClientId&redirect_uri=https://localhost/login&state=1234

Request​

Responses​

A redirect to the redirect_uri containing an authorization code and optionally a state variable