Oauth
OAuth authorize endpoint
Changed onThis endpoint is used to initiate the OAuth authorization flow. there are two purposes for this endpoint: 1. Authenticate a user with an OAuth provider. 2. Link an existing user with an OAuth provider.
get/auth/oauth/authorize/{provider_id}
Request
- Base URLhttps://api.hexclave.com/api/v1
- URLhttps://api.hexclave.com/api/v1/auth/oauth/authorize/{provider_id}
- Authnone declared
Path parameters
provider_idstring required
Query parameters
type'authenticate' | 'link'
tokenstring
provider_scopestring
error_redirect_uristring
after_callback_redirect_urlstring
stack_response_mode'json' | 'redirect'
Response mode for the OAuth authorize endpoint. Defaults to 'redirect' if not provided.
hexclave_response_mode'json' | 'redirect'
Response mode for the OAuth authorize endpoint. Defaults to 'redirect' if not provided.
bot_challenge_tokenstring
bot_challenge_phase'invisible' | 'visible'
bot_challenge_unavailable'true'
client_idstring required
client_secretstring required
redirect_uristring required
scopestring required
statestring required
grant_type'authorization_code' required
code_challengestring required
code_challenge_method'S256' required
response_typestring required
Response
Successful response
Changes
- breaking
the
queryrequest parametercode_challenge_methodwas restricted to a list of enum values - info
added the new enum value
S256to thequeryrequest parametercode_challenge_method
- breaking
- breaking
for the
queryrequest parameterstack_response_mode, default valueredirectwas removed - info
added the new optional
queryrequest parameterhexclave_response_mode
- breaking