What an authorization request asks for
GET
/api/v1/oauth/authorize
const url = 'http://localhost:3000/api/v1/oauth/authorize';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/oauth/authorize \ --header 'Authorization: Bearer <token>'Signed in, with the client’s query (response_type=code, client_id, redirect_uri, code_challenge, S256, state). For the consent screen.
Any caller; the scope needed is checked on what it acts on.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The request
default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}