Skip to content

Commit 1c249fc

Browse files
authored
Update app.js
1 parent 347cc3c commit 1c249fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

00-Starter-Seed/public/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $(document).ready(function() {
88
$('.btn-login').click(function(e) {
99
e.preventDefault();
1010
auth.authorize({
11-
audience: API_AUDIENCE,
11+
audience: 'https://'+AUTH0_DOMAIN+'/userinfo', // you can also set this on the .env file and put API_AUDIENCE instead
1212
scope: 'openid profile',
1313
responseType: 'code',
1414
redirectUri: AUTH0_CALLBACK_URL

0 commit comments

Comments
 (0)