Created
January 19, 2015 08:48
-
-
Save sandrinodimattia/e28945a8779b5496e053 to your computer and use it in GitHub Desktop.
Passing login_hint in Auth0 lock
This file contains hidden or 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
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