Request an authorization code
Used to initiate an authorization code flow.
SlashID is an OAuth 2.0 and OpenID Connect 1.0 provider.
Query Parameters
- scope string required
- response_type string required
- client_id string required
- redirect_uri string required
- state string
- code_challenge string
- code_challenge_method string
- response_mode string
- nonce string
- display string
Possible values: [
page
] - prompt string
Possible values: [
none
,login
] - max_age int32
- ui_locales string
- login_hint string
- acr_values string
- handle_types string
Responses
- 200
- 400
- 403
OK
- text/html
- Schema
Schema
- string
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}