Handle provider authentication callback
GET/auth/:providerName/callback
Handle provider authentication callback
Request
Path Parameters
providerName stringrequired
Possible values: [discord
, facebook
, google
, twitch
, twitter
, ultra
]
The name of the identity provider. Allowed values are: discord, facebook, google, twitch, twitter, ultra
Responses
- 200
- 500
- default
Tokens successfully generated
- application/json
- Schema
- Example (from schema)
Schema
refresh_token string
access_token string
{
"refresh_token": "string",
"access_token": "string"
}
Failed to generate tokens
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...