Auth0 Home Blog Docs

Auth0 Authentication in Index Page or Page load

lock
auth0
authentication

#1

Hi there,

Is it possible to add Auth0 Lock/Custom UI in my Website Index Page ?
I have used Lock as well as Custom UI in two projects. Basically, it’s redirect to my Auth0 URL and user can validate there. Good enough.
But my requirement is, when my page will load Can I show the Auth0 LogIn form using Lock/Custome UI ? I don’t want to navigate to my Auth0 Authentication page. Like the way in your website www.auth0.com have, if a user click on login button, you are showing Lock there itself.

Now I’m using Angular 2.

Please let me know if any possibility.
Thanks in advance.


#3

@bmatia You can create an embedded login form using either Lock or the Auth0.js library. You can find more information on the differences and limitations of using Universal versus Embedded login in our documentation here: https://auth0.com/docs/guides/login/universal-vs-embedded#embedded-login-with-auth0

Additionally, please see our quickstart guide for implementing embedded login for Angular here: https://github.com/auth0-samples/auth0-angular-samples/tree/embedded-login/01-Embedded-Login


#4

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