Auth0 Home Blog Docs

Providing redirect to the close button when using the hosted universal login

jwt
auth0
api
auth0js
webauth

#1

Hello

We’re using auth0.WebAuth from auth0-js to authenticate users using the Universal Login.

    this.auth0Client = new auth0.WebAuth({
        ...
        redirectUri: <redirectUri>,
        ...
    });

If we customize our login page and set closable to true, can we give auth0 a URI to redirect to? Currently it closes the the modal, but remains in the Auth0 page

Similar to this request which was closed without an answer:


#2

there are no plans to add a link to anywhere in lock. The rationale is that you just got redirected to the login page. The only place you should go, if you don’t want to login, is go back, so just click the back button in your browser.