AlphaAlpha Docs
API ReferenceAuth oauth

OAuth callback

Handle the OAuth provider callback, exchange code for tokens, and redirect to frontend

GET
/auth/oauth/public/{provider}/callback
AuthorizationBearer <token>

In: header

Path Parameters

provider*string

Query Parameters

code?string
state?string
error?string
error_description?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/auth/oauth/public/string/callback"
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}