Skip to content

Commit aa1aecd

Browse files
committed
Add auth.js
1 parent 13204e3 commit aa1aecd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

js/auth.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ var webAuth = new auth0.WebAuth({
1414
$(document).ready(function() {
1515

1616
webAuth.checkSession(
17-
{},
17+
{
18+
audience: 'https://coderic.eu.auth0.com/api/v2/',
19+
scope: 'openid profile email',
20+
},
1821
function(err, result) {
1922
console.dir(result);
2023
if (err || !result || !result.accessToken) {

0 commit comments

Comments
 (0)