Complete OAuth Authentication
Changed onCompletes the OAuth authentication flow by exchanging authorization code for tokens and establishing user session.
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/auth/callback
- Auth: one of:
- none
- HTTP bearer
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback)
Request body
Example request
{
"code": "auth_code_123",
"state": "random_state_456"
}Response
OAuth flow completed successfully, user authenticated
Example response
{
"location": "https://oauth.example.com/auth?client_id=test&redirect_uri=..."
}Changes
- breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking