Auth0 Home Blog Docs

Sample shoowing how to use the Lock widget with an ASP.NET MVC project


#1

Hi

I am looking for an example that shows how to use the javascript lock widget in a ASP.NET MVC project. It seems that there used to be a few examples and quick starts but they have all been removed and the new samples all seem to favour using the centralised login form.

We did have a working project using the now deprecated Auth0-ASPNET-Owin NuGet package and want to basically migrate to using the latest packages. I’m just not sure how to do this and still keep using the embedded lock form rather than moving to the centralised login. We have looked at the pros and cons of the centralised vs embedded login and to keep our UI the same we would still prefer to use the embedded approach.

Any pointers would be greatly appreciated.