Auth0 Home Blog Docs

Need help with "Go Back" button inside Lock widget header

#1

Hello,

I’m using Lock widget with Universal Login. I have reached the desired level of customization part of which was getting rid of Auth0 widget header:

        .auth0-lock-header {
            display: none !important;
        }

The issue that I’m having now is that on “Reset your Password” screen, “Go Back” button was supposed to be displayed in the top left corner of the Lock widget header.

Can someone suggest or recommend how would I move this button outside so it’s visible without making the header visible?

The button should only trigger the Lock widget to it’s initial “Log in” state.

Thanks.

#2

The solution to achieve this is to reload lock widget via custom component action triggering lock.hide() and then lock.show().

1 Like
#3

Glad you have it working now @dlozitskiy!

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.