Skip to content

Oauth Authorize

GET
/api/oauth/authorize

OAuth2 Authorization endpoint.

If user is authenticated, generates an authorization code and redirects. If not authenticated, redirects to login page.

Parameters

Query Parameters

client_id
required
string
redirect_uri
required
string
response_type
string
default: code
scope
string
default: openid profile email
state
Any of:
string

Responses

200

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string