Skip to content

Instantly share code, notes, and snippets.

@jonmccon
Last active May 29, 2020 17:16
Show Gist options
  • Save jonmccon/7e5b83809d097006433ee010a5d0806a to your computer and use it in GitHub Desktop.
Save jonmccon/7e5b83809d097006433ee010a5d0806a to your computer and use it in GitHub Desktop.
Lumedic Auth0 skin
// 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