Skip to content

Commit 29d3103

Browse files
authored
Update vanilla.html
1 parent 09bac32 commit 29d3103

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/clients/auth.php/vanilla.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<head>
33
<meta charset="utf-8" />
44
<script>
5-
var authUrl = 'auth.php'; // url of 'auth.php' from php-api-auth
6-
var clientId = 'default'; // client id as defined in auth0
7-
var audience = 'api.php'; // api audience as defined in auth0
5+
var authUrl = 'auth.php'; // url of 'auth.php' from php-api-auth
6+
var clientId = 'default'; // client id as defined in php-api-auth
7+
var audience = 'api.php'; // api audience as defined in php-api-auth
88
window.onload = function () {
99
var match = RegExp('[#&]access_token=([^&]*)').exec(window.location.hash);
1010
var accessToken = match && decodeURIComponent(match[1].replace(/\+/g, ' '));

0 commit comments

Comments
 (0)