Created
June 2, 2016 03:12
-
-
Save maraoz/980729fe357485e373abbd4f05365834 to your computer and use it in GitHub Desktop.
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
var clientID = "oC8AfNfY3JTOV5PIFkqKbIgLgzFqc0By"; | |
var domain = "bitcorps.auth0.com"; | |
var full = location.protocol+'//'+location.hostname+(location.port ? ':'+location.port: ''); | |
var dict = { | |
title: "BitCorps", | |
} | |
var options = { | |
"responseType":"token", | |
"autoclose":true, | |
"closable": false, | |
"focusInput":false, | |
"popup":false, | |
"socialBigButtons":true, | |
"connections":["facebook","twitter"], | |
"primaryColor": '#3498db', | |
"dict": dict, | |
"icon": "/img/logo.png", | |
"callbackURL": full + '/auth/auth0/callback' | |
}; | |
var lock = new Auth0LockPasswordless(clientID, domain); | |
lock.magiclink(options, function (error, email) { | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment