Skip to main content
GET
/
auth
/
oauth2
/
callback
OAuth2 callback
curl --request GET \
  --url https://api.wacht.dev/auth/oauth2/callback
{
  "status": 400,
  "message": "<string>",
  "data": "<unknown>",
  "session": {
    "id": "123456789012345678",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "errors": [
    {
      "code": "INVALID_CREDENTIALS",
      "message": "Invalid credentials. Please try again."
    }
  ]
}

Query Parameters

code
string

OAuth2 authorization code

state
string

OAuth2 state parameter

provider
string

OAuth2 provider

Response

Redirect to application