Skip to content

External Challenge

List of external providers that can be used to authenticate users.

Info
MethodGET
Route groupauth
Path{auth}/external/challenge/:provider
TypeExternalChallengeEndpoint<TUser>
AuthenticationNo

Path parameters

NameTypeDescription
providerstringProvider’s name.

Query parameters

NameTypeDescription
callbackUrlstringURL to redirect after challenge.

Whether the user has already an account the response will be different.

If user doesn’t have an account, the response will be:

Response cookies

NameTypeDescription
Aufy.ExternalSignUpSchemeHttpOnly

Callback URL query parameters

  • signup=true - useful for the frontend to know that the user is signing up.

If user has an account, the response will be:

Response cookies

NameTypeDescription
Aufy.ExternalSignInSchemeHttpOnly