Skip to content

Instantly share code, notes, and snippets.

@sandrinodimattia
Created January 19, 2015 08:48
Show Gist options
  • Save sandrinodimattia/e28945a8779b5496e053 to your computer and use it in GitHub Desktop.
Save sandrinodimattia/e28945a8779b5496e053 to your computer and use it in GitHub Desktop.
Passing login_hint in Auth0 lock
widget
.on('signin submit', function (options, context) {
if (!options.authParams)
options.authParams = {};
options.authParams.login_hint = context.email;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment