diff --git a/CHANGELOG.md b/CHANGELOG.md index a6284175..5a858f03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [v9.12.1](https://github.com/auth0/auth0.js/tree/v9.12.1) (2019-12-17) + +[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.12.0...v9.12.1) + +**Fixed** + +- Set the default token validation leeway to 60 sec [\#1062](https://github.com/auth0/auth0.js/pull/1062) ([stevehobbsdev](https://github.com/stevehobbsdev)) + ## [v9.12.0](https://github.com/auth0/auth0.js/tree/v9.12.0) (2019-12-11) [Full Changelog](https://github.com/auth0/auth0.js/compare/v9.11.3...v9.12.0) diff --git a/README.md b/README.md index 535811b7..15be0b49 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ From CDN: ```html - + ``` From [npm](https://npmjs.org): diff --git a/docs/Authentication.html b/docs/Authentication.html index b75e4931..9c779e78 100644 --- a/docs/Authentication.html +++ b/docs/Authentication.html @@ -494,7 +494,7 @@
<!-- Latest patch release -->
-<script src="https://cdn.auth0.com/js/auth0/9.12.0/auth0.min.js"></script>
+<script src="https://cdn.auth0.com/js/auth0/9.12.1/auth0.min.js"></script>
From npm:
npm install auth0-js
@@ -381,6 +381,14 @@ Initialize
Indicates if deprecation warnings should be output to the browser
console, defaults to false
.
+
+ maxAge {OPTIONAL, number}: Used during token
+ validation. Specifies the maximum elapsed time in seconds since
+ the last time the user was actively authenticated by the
+ authorization server. If the elapsed time is greater than this
+ value, the token is considered invalid and the user must be
+ re-authenticated.
+
API
@@ -708,7 +716,7 @@ License
diff --git a/docs/management_index.js.html b/docs/management_index.js.html
index 4c7129e6..96ca3c2a 100644
--- a/docs/management_index.js.html
+++ b/docs/management_index.js.html
@@ -438,7 +438,7 @@ management/index.js
diff --git a/docs/web-auth_cross-origin-authentication.js.html b/docs/web-auth_cross-origin-authentication.js.html
index e9dbb6f4..2309b96f 100644
--- a/docs/web-auth_cross-origin-authentication.js.html
+++ b/docs/web-auth_cross-origin-authentication.js.html
@@ -426,7 +426,7 @@ web-auth/cross-origin-authentication.js
diff --git a/docs/web-auth_hosted-pages.js.html b/docs/web-auth_hosted-pages.js.html
index 95ea068e..1a0a7307 100644
--- a/docs/web-auth_hosted-pages.js.html
+++ b/docs/web-auth_hosted-pages.js.html
@@ -410,7 +410,7 @@ web-auth/hosted-pages.js
diff --git a/docs/web-auth_index.js.html b/docs/web-auth_index.js.html
index 26b17dff..0aa35c5a 100644
--- a/docs/web-auth_index.js.html
+++ b/docs/web-auth_index.js.html
@@ -697,7 +697,7 @@ web-auth/index.js
issuer: this.baseOptions.token_issuer,
jwksURI: this.baseOptions.jwksURI,
audience: this.baseOptions.clientID,
- leeway: this.baseOptions.leeway || 0,
+ leeway: this.baseOptions.leeway || 60,
maxAge: this.baseOptions.maxAge,
__clock: this.baseOptions.__clock || defaultClock
});
@@ -1196,7 +1196,7 @@ web-auth/index.js
diff --git a/docs/web-auth_popup.js.html b/docs/web-auth_popup.js.html
index ae5dd851..0949e88d 100644
--- a/docs/web-auth_popup.js.html
+++ b/docs/web-auth_popup.js.html
@@ -578,7 +578,7 @@ web-auth/popup.js
diff --git a/docs/web-auth_redirect.js.html b/docs/web-auth_redirect.js.html
index 619b2771..18ef6b8d 100644
--- a/docs/web-auth_redirect.js.html
+++ b/docs/web-auth_redirect.js.html
@@ -327,7 +327,7 @@ web-auth/redirect.js
diff --git a/package.json b/package.json
index 311bd970..32fb232b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "auth0-js",
- "version": "9.12.0",
+ "version": "9.12.1",
"description": "Auth0 headless browser sdk",
"author": "Auth0",
"license": "MIT",
diff --git a/src/version.js b/src/version.js
index 25ee71a5..ceea7c83 100644
--- a/src/version.js
+++ b/src/version.js
@@ -1 +1 @@
-module.exports = { raw: '9.12.0' };
+module.exports = { raw: '9.12.1' };