Skip to content

Authorize Submit

POST
/oauth/authorize
curl --request POST \
--url https://example.com/oauth/authorize \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data action=approve \
--data client_id= \
--data code_challenge= \
--data code_challenge_method=S256 \
--data email= \
--data password= \
--data redirect_uri= \
--data resource= \
--data response_type= \
--data scope= \
--data state= \
--data totp_code=
Media typeapplication/x-www-form-urlencoded
Body_authorize_submit_oauth_authorize_post
object
action
Action
string
default: approve
client_id
Client Id
string
""
code_challenge
Code Challenge
string
""
code_challenge_method
Code Challenge Method
string
default: S256
email
Email
string
""
password
Password
string
""
redirect_uri
Redirect Uri
string
""
resource
Resource
string
""
response_type
Response Type
string
""
scope
Scope
string
""
state
State
string
""
totp_code
Totp Code
string
""

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}