File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11var webAuth = new auth0 . WebAuth ( {
22 clientID : 'In43D8hfptI5B17Xo7XZX4aBkhfMuH56' ,
33 domain : 'auth.coderic.org' ,
4- audience : `https://coderic.eu.auth0.com/api/v2/ ` ,
4+ audience : `https://coderic.eu.auth0.com/userinfo ` ,
55 scope : 'openid profile email' ,
66 redirectUri : 'https://coderic.org/callback' ,
77 responseType : 'token id_token'
88} ) ;
99
1010login = ( ) => webAuth . authorize ( {
11- audience : 'https://coderic.eu.auth0.com/api/v2/ ' ,
11+ audience : 'https://coderic.eu.auth0.com/userinfo ' ,
1212 scope : 'openid profile email' ,
1313 redirectUri : 'https://coderic.org/callback'
1414} ) ;
@@ -19,7 +19,7 @@ logout = () => webAuth.logout({
1919load = ( ) => {
2020 webAuth . checkSession (
2121 {
22- audience : 'https://coderic.eu.auth0.com/api/v2/ ' ,
22+ audience : 'https://coderic.eu.auth0.com/userinfo ' ,
2323 scope : 'openid profile email' ,
2424 } ,
2525 function ( err , result ) {
You can’t perform that action at this time.
0 commit comments