We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09bac32 commit 29d3103Copy full SHA for 29d3103
examples/clients/auth.php/vanilla.html
@@ -2,9 +2,9 @@
2
<head>
3
<meta charset="utf-8" />
4
<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
+var authUrl = 'auth.php'; // url of 'auth.php' from php-api-auth
+var clientId = 'default'; // client id as defined in php-api-auth
+var audience = 'api.php'; // api audience as defined in php-api-auth
8
window.onload = function () {
9
var match = RegExp('[#&]access_token=([^&]*)').exec(window.location.hash);
10
var accessToken = match && decodeURIComponent(match[1].replace(/\+/g, ' '));
0 commit comments