This function should be called when the user is redirected back to your app
after a login attempt. It will use the query string add the redirect URL to
create a session for the current user. It will return a URL as a string
that should be redirected to within your app.
Example
try { constcontinueTo = awaitauthService.handleAuthentication() // Redirect the user back to where they were before attempting to login window.location.href = continueTo } catch (error) { // handle failed login attempts here. }
This function should be called when the user is redirected back to your app after a login attempt. It will use the query string add the redirect URL to create a session for the current user. It will return a URL as a
stringthat should be redirected to within your app.Example