Nest Authbeta

GET /auth/callback/{provider}

OAuth callback endpoint for SSO providers. Exchanges authorization code for access token and returns raw SSO user info. Returns HTML page that posts SSO data to parent window and auto-closes.

SSO Callback

GET/auth/callback/{provider}

OAuth callback endpoint for SSO providers. Exchanges authorization code for access token and returns raw SSO user info. Returns HTML page that posts SSO data to parent window and auto-closes.

Path parameters

NameTypeRequiredDescription
providerstringrequired

Responses

200

Try it

curl -X GET 'https://api.example.com/auth/callback/{provider}' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

On this page