completeConnectionAfterRedirect()
Othent JS SDK completeConnectionAfterRedirect() function
Last updated
Othent JS SDK completeConnectionAfterRedirect() function
Last updated
If and only if you set the option, users will be redirected to Auth0 to authenticate and then back to your application. When they land back in your application, you must call completeConnectionAfterRedirect()
to complete the authentication process.
By default, callbackUriWithParams = location.href
, if you environment supports it. Otherwise, you'll have to manually pass an URI with the code
and state
params provided by Auth0, which handles the redirect callback.
See .
callbackUriWithParams?: Auth0RedirectUriWithParams
Default: location.href
URI with code
and state
params provided by Auth0.
return Promise<UserDetails | null>
A Promise
with the UserDetails
or null
if the log in modal was closed, could not even be opened or authentication failed.