Documentation navigation

Auth

Build a provider callback URL

GET/auth/callback

Builds the Jupiter Auth callback URL from parameters returned by an external provider.

Parameters

Omit<OAuthCallbackForm, 'user'>
statestring
OAuth state returned by the provider.
code?string
Authorization code returned by the provider.
error?string
Provider error code.
error_description?string
Provider error description.
oauth_token?string
OAuth 1.0 request token.
oauth_verifier?string
OAuth 1.0 verifier.

Returns

string