Skip to content

Commit b051bb8

Browse files
committed
Add auth.js
1 parent 37b5a5f commit b051bb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/auth.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ $(document).ready(function() {
3131
});
3232

3333
login = () => webAuth.authorize({
34-
connection: 'saml',
35-
connection_scope: 'openid profile email',
36-
prompt: 'none',
34+
audience: 'https://coderic.eu.auth0.com/api/v2/',
35+
scope: 'openid profile email',
36+
redirectUri: 'https://coderic.org/'
3737
});
3838
logout = () => webAuth.logout({
3939
returnTo: 'https://' +window.location.hostname + '/'

0 commit comments

Comments
 (0)