Auth0 Home Blog Docs

Auth0-lock get access token

auth0-lock

#1

I’m using auth0-lock v11 in my angular web app. I am embedding the widget of auth0-lock. I am showing the widget using ‘lock.show()’ and listening the response using lock.on(). But after first login, it’s getting redirected to same page. This time, it’s showing option to click the account (‘last time you logged in with’ thingy). The lock.on() is getting called only if I click it again.

In short, there is two steps to login - first enter the credentials, second select the email with which I logged in. Is there any single step way for the embedded one?

Thanks in advance.


#2

can you post the options you are passing to Auth0Lock when initialising it ?