Last active
May 29, 2020 17:16
-
-
Save jonmccon/7e5b83809d097006433ee010a5d0806a to your computer and use it in GitHub Desktop.
Lumedic Auth0 skin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// using v11 on the web | |
// https://cdn.auth0.com/js/lock/11.24.1/lock.min.js | |
var domain = 'contoso.auth0.com'; | |
var clientID = 'DyG9nCwIEofSy66QM3oo5xU6NFs3TmvT'; | |
var options = { | |
theme: { | |
logo: 'https://gist.githubusercontent.com/jonmccon/7e5b83809d097006433ee010a5d0806a/raw/8c96781effbbc43a2bf4bb906eee9d243b6f8daf/lumedicLogoLow.png', | |
primaryColor: '#474EDB', | |
} | |
}; | |
var lock = new Auth0Lock(clientID, domain, options); | |
lock.show({ | |
focusInput: false, | |
closable: false, | |
allowedConnections: ['Username-Password-Authentication'], | |
allowSignUp: false, | |
allowForgotPassword: true, | |
forgotPasswordLink: '#', | |
languageDictionary: { | |
emailInputPlaceholder: "your ProvID", | |
title: " " | |
}, | |
popup: true, | |
}, function (err, profile, token) { | |
alert(err); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment