Install-Package Auth0.NancyFx.SelfHost
Add the following lines to your base code
<script src="https://cdn.auth0.com/js/lock/11.14/lock.min.js"></script>
<script>
var lock = new Auth0Lock('YOUR_CLIENT_ID', 'YOUR_DOMAIN');
function signin() {
lock.show({
callbackURL: 'http://localhost:CHANGE-TO-YOUR-PORT/signin-auth0'
, responseType: 'code'
, authParams: {
scope: 'openid name email' //Details: https:///scopes
}
});
}
</script>
<button onclick="signin()">Login</button>
Auth0 is the easiest way for developers to integrate enterprise-grade authentication and identity management to any app.
SOC 2, HIPAA/BAA, EU/US Privacy Shield Framework, Open ID Certified.
Learn MoreContinuously reviewed and tested by external security experts. Strong password encryption and hashing algorithms, at rest and in transit.
Learn MoreContinuously reviewed and tested by external security experts. Strong password encryption and hashing algorithms, at rest and in transit.
Learn MoreUptime time in 3 different regions.
Learn MoreDeploy On-Premises or on Cloud on your data center or Auth0’s one.
Learn More