Created
March 9, 2021 15:24
-
-
Save ilovelili/1e652eb93e52c274ff6373a39db302e0 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
options = { | |
closable: true, | |
autoclose: true, | |
auth: { | |
redirectUrl: 'http://localhost:3000', | |
responseType: 'id_token', | |
params: { | |
scope: 'openid profile email', // could you check here? | |
language: 'en', | |
}, | |
}, | |
}; | |
lock = new Auth0Lock( | |
environment.auth.clientID, | |
environment.auth.domain, | |
this.options | |
); | |
auth0 = new auth0.WebAuth({ | |
clientID: environment.auth.clientID, | |
domain: environment.auth.domain, | |
responseType: 'id_token', | |
redirectUri: environment.auth.redirect, | |
scope: environment.auth.scope, | |
screen_hint: 'signup', | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment