Skip to content

Commit b5bdff0

Browse files
author
Jeff Smith
committed
Updating auth0.js URLs to use var instead of hard coded URL
Did not update /libraries/lock/v10/auth0js because already working on a branch that modifies this
1 parent b38b9b6 commit b5bdff0

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

articles/_includes/_lock-sdk.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<label>Password</label><input type="password" id="password"><br>
107107
<button class="signin-db">Sign in with Email/Password</button>
108108

109-
<script src="https://cdn.auth0.com/js/auth0/8.7/auth0.min.js"></script>
109+
<script src="${auth0js_urlv8}"></script>
110110
<script src="http://code.jquery.com/jquery.js"></script>
111111
<script>
112112
var webAuth = new auth0.WebAuth({

articles/client-auth/current/client-side-web.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The [Auth0.js library](https://auth0.com/docs/libraries/auth0js) can assist you
106106
Log In
107107
</button>
108108
<script src="http://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
109-
<script src="https://cdn.auth0.com/js/auth0/8.7/auth0.min.js"></script>
109+
<script src="${auth0js_urlv8}"></script>
110110
<script>
111111
(function () {
112112
var webAuth = new auth0.WebAuth({

articles/libraries/auth0js/v8/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ If you are using a bundler, you will want to install with `npm i auth0-js --prod
5656
Initialize a new instance of the Auth0 client as follows:
5757

5858
```html
59-
<script src="https://cdn.auth0.com/js/auth0/8.0.4/auth0.min.js"></script>
6059
<script type="text/javascript">
6160
var webAuth = new auth0.WebAuth({
6261
domain: '${account.namespace}',

articles/libraries/auth0js/v8/migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can find detailed information about supported methods in the [Auth0.js v8](/
4242
Initialization of auth0.js in your application will now use `auth0.WebAuth` instead of `Auth0`
4343

4444
```html
45-
<script src="https://cdn.auth0.com/js/auth0/8.1.0/auth0.min.js"></script>
45+
<script src="${auth0js_urlv8}"></script>
4646
<script type="text/javascript">
4747
var webAuth = new auth0.WebAuth({
4848
domain: 'YOUR_AUTH0_DOMAIN',

0 commit comments

Comments
 (0)