Authentication

Oauth Callback

Provider hands back a code; trade it for tokens, resolve the user, open a session and bounce back to the site.

Failures redirect to the frontend with ?auth_error=... rather than rendering a raw API error page at the end of a login the user started in the UI.

get/api/auth/oauth/{provider_name}/callback

Request

  • Base URL: https://pegarex.com.br (the document declares no server; this is the origin it was published from)
  • URL: https://pegarex.com.br/api/auth/oauth/{provider_name}/callback
  • Auth: none declared

Path parameters

provider_namestring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.