diff --git a/CHANGELOG.md b/CHANGELOG.md index 0556b47c5..98e88de2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## [v1.8.2](https://github.com/auth0/auth0-spa-js/tree/v1.8.2) (2020-05-26) + +[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.8.1...v1.8.2) + +**Fixed** + +- [SDK-1640] Allow the client to be constructed in a Node SSR environment [\#471](https://github.com/auth0/auth0-spa-js/pull/471) ([adamjmcgrath](https://github.com/adamjmcgrath)) +- [SDK-1634] Pass custom options to the token endpoint [\#465](https://github.com/auth0/auth0-spa-js/pull/465) ([stevehobbsdev](https://github.com/stevehobbsdev)) +- [SDK-1649] Fix issue where cache was missed when scope parameter was provided [\#461](https://github.com/auth0/auth0-spa-js/pull/461) ([adamjmcgrath](https://github.com/adamjmcgrath)) + ## [v1.8.1](https://github.com/auth0/auth0-spa-js/tree/v1.8.1) (2020-05-06) [Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.8.0...v1.8.1) diff --git a/docs/classes/auth0client.html b/docs/classes/auth0client.html index 197785924..a5e9ed200 100644 --- a/docs/classes/auth0client.html +++ b/docs/classes/auth0client.html @@ -2883,7 +2883,7 @@
getIdTokenClaims
getTokenSilently
getTokenWithPopup
getUser
handleRedirectCallback
isAuthenticated
loginWithPopup
loginWithRedirect
logout
constructor
Parameters
@@ -2892,7 +2892,7 @@appState
error
@@ -2914,7 +2914,7 @@error_description
@@ -2957,7 +2957,7 @@state
constructor
Parameters
@@ -2886,7 +2886,7 @@error
error_description
Documentation
Installation
From the CDN:
-
+<script src="https://cdn.auth0.com/js/auth0-spa-js/1.7/auth0-spa-js.production.js"></script>
<script src="https://cdn.auth0.com/js/auth0-spa-js/1.8/auth0-spa-js.production.js"></script>
Using npm:
Using yarn:
@@ -3085,7 +3085,7 @@CacheLocation
getIdTokenClaimsOptions
Const CACHE_LOCATION_LO
CACHE_LOCATION_LOCAL_STORAGE: "localstorage" = "localstorage"
@@ -3123,7 +3123,7 @@
Const CACHE_LOCATION_ME
CACHE_LOCATION_MEMORY: "memory" = "memory"
@@ -3133,7 +3133,7 @@
Const MISSING_REFRESH_T
MISSING_REFRESH_TOKEN_ERROR_MESSAGE: "The web worker is missing the refresh token" = "The web worker is missing the refresh token"
@@ -3150,7 +3150,7 @@
CacheLocation: "memory" | "localstorage"
@@ -3101,7 +3101,7 @@ getIdTokenClaimsOptions: GetIdTokenClaimsOptions
@@ -3114,7 +3114,7 @@
diff --git a/docs/interfaces/auth0clientoptions.html b/docs/interfaces/auth0clientoptions.html
index 5c0104e2d..20d271b68 100644
--- a/docs/interfaces/auth0clientoptions.html
+++ b/docs/interfaces/auth0clientoptions.html
@@ -2906,7 +2906,7 @@
createAuth0Client
Parameters
diff --git a/docs/index.html b/docs/index.html index f511f324b..1bf07f466 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2817,7 +2817,7 @@Documentation
Installation
From the CDN:
-
+<script src="https://cdn.auth0.com/js/auth0-spa-js/1.7/auth0-spa-js.production.js"></script>
<script src="https://cdn.auth0.com/js/auth0-spa-js/1.8/auth0-spa-js.production.js"></script>
Using npm:
Using yarn:
@@ -3086,7 +3086,7 @@CacheLocation
getIdTokenClaimsOptions
Const CACHE_LOCATION_LO
CACHE_LOCATION_LOCAL_STORAGE: "localstorage" = "localstorage"
@@ -3124,7 +3124,7 @@
Const CACHE_LOCATION_ME
CACHE_LOCATION_MEMORY: "memory" = "memory"
@@ -3134,7 +3134,7 @@
Const MISSING_REFRESH_T
MISSING_REFRESH_TOKEN_ERROR_MESSAGE: "The web worker is missing the refresh token" = "The web worker is missing the refresh token"
@@ -3151,7 +3151,7 @@
Scope: string
createAuth0Client
Parameters
diff --git a/docs/interfaces/advancedoptions.html b/docs/interfaces/advancedoptions.html index 6d1ed9fcd..b99078385 100644 --- a/docs/interfaces/advancedoptions.html +++ b/docs/interfaces/advancedoptions.html @@ -2818,7 +2818,7 @@Optional defaultScope
defaultOptional acr_values
@@ -2916,7 +2916,7 @@Optional advancedOptions<
advancedOptions: AdvancedOptions
@@ -2932,7 +2932,7 @@
@@ -2947,7 +2947,7 @@
Optional audience
Optional authorizeTimeout
authorizeTimeoutInSeconds: number
@@ -2963,7 +2963,7 @@
@@ -2979,7 +2979,7 @@ client_id: string
@@ -2995,7 +2995,7 @@
@@ -3013,7 +3013,7 @@
@@ -3033,7 +3033,7 @@ domain: string
@@ -3051,7 +3051,7 @@
Optional cacheLocationcacheLocation: CacheLocation
client_id
Optional connection
Optional display
domain
Optional id_token_hi
@@ -3066,7 +3066,7 @@ issuer: string
@@ -3081,7 +3081,7 @@ leeway: number
@@ -3099,7 +3099,7 @@
@@ -3118,7 +3118,7 @@
@@ -3136,7 +3136,7 @@
@@ -3156,7 +3156,7 @@ uri: string
@@ -3176,7 +3176,7 @@
@@ -3194,7 +3194,7 @@
@@ -3210,7 +3210,7 @@
Optional issuer
Optional leeway
Optional login_hint
Optional max_age
Optional prompt
Optional redirect_uri
redirect_Optional scope
Optional ui_locales
Optional useRefreshT
useRefreshTokens: boolean
diff --git a/docs/interfaces/getidtokenclaimsoptions.html b/docs/interfaces/getidtokenclaimsoptions.html
index 650240145..f191121de 100644
--- a/docs/interfaces/getidtokenclaimsoptions.html
+++ b/docs/interfaces/getidtokenclaimsoptions.html
@@ -2822,7 +2822,7 @@ audience: string
@@ -2837,7 +2837,7 @@ scope: string
diff --git a/docs/interfaces/gettokensilentlyoptions.html b/docs/interfaces/gettokensilentlyoptions.html
index b33a28600..a648fe974 100644
--- a/docs/interfaces/gettokensilentlyoptions.html
+++ b/docs/interfaces/gettokensilentlyoptions.html
@@ -2844,7 +2844,7 @@ audience: string
@@ -2859,7 +2859,7 @@ ignoreCache: boolean
@@ -2875,7 +2875,7 @@ uri: string
@@ -2895,7 +2895,7 @@ scope: string
@@ -2910,7 +2910,7 @@
audience
scope
Optional audience
Optional ignoreCache
Optional redirect_uri
redirect_Optional scope
Optional timeoutInSeconds
timeoutInSeconds: number
diff --git a/docs/interfaces/gettokenwithpopupoptions.html b/docs/interfaces/gettokenwithpopupoptions.html
index 03fee2777..5a5699fcf 100644
--- a/docs/interfaces/gettokenwithpopupoptions.html
+++ b/docs/interfaces/gettokenwithpopupoptions.html
@@ -2870,7 +2870,7 @@
@@ -2897,7 +2897,7 @@
@@ -2915,7 +2915,7 @@
@@ -2936,7 +2936,7 @@
Optional acr_values
@@ -2881,7 +2881,7 @@Optional audience
Optional connection
Optional display
Optional id_token_hi
@@ -2952,7 +2952,7 @@
@@ -2971,7 +2971,7 @@
@@ -2989,7 +2989,7 @@
@@ -3010,7 +3010,7 @@
@@ -3028,7 +3028,7 @@
diff --git a/docs/interfaces/getuseroptions.html b/docs/interfaces/getuseroptions.html
index adacd3b1c..8e3e6b0bb 100644
--- a/docs/interfaces/getuseroptions.html
+++ b/docs/interfaces/getuseroptions.html
@@ -2822,7 +2822,7 @@ audience: string
@@ -2837,7 +2837,7 @@ scope: string
diff --git a/docs/interfaces/logoutoptions.html b/docs/interfaces/logoutoptions.html
index b63d0e456..6e4813818 100644
--- a/docs/interfaces/logoutoptions.html
+++ b/docs/interfaces/logoutoptions.html
@@ -2830,7 +2830,7 @@ client_id: string
@@ -2845,7 +2845,7 @@ federated: boolean
@@ -2864,7 +2864,7 @@ localOnly: boolean
@@ -2882,7 +2882,7 @@ returnTo: string
diff --git a/docs/interfaces/popupconfigoptions.html b/docs/interfaces/popupconfigoptions.html
index 0b7cfa928..eeb049397 100644
--- a/docs/interfaces/popupconfigoptions.html
+++ b/docs/interfaces/popupconfigoptions.html
@@ -2822,7 +2822,7 @@ popup: any
@@ -2839,7 +2839,7 @@
Optional login_hint
Optional max_age
Optional prompt
Optional scope
Optional ui_locales
audience
scope
Optional client_id
Optional federated
Optional localOnly
Optional returnTo
Optional popup
Optional timeoutInSeconds
timeoutInSeconds: number
diff --git a/docs/interfaces/popuploginoptions.html b/docs/interfaces/popuploginoptions.html
index 386f52944..86cc2cb30 100644
--- a/docs/interfaces/popuploginoptions.html
+++ b/docs/interfaces/popuploginoptions.html
@@ -2875,7 +2875,7 @@
@@ -2902,7 +2902,7 @@
@@ -2920,7 +2920,7 @@
@@ -2941,7 +2941,7 @@
Optional acr_values
@@ -2886,7 +2886,7 @@Optional audience
Optional connection
Optional display
Optional id_token_hi
@@ -2957,7 +2957,7 @@
@@ -2976,7 +2976,7 @@
@@ -2994,7 +2994,7 @@
@@ -3015,7 +3015,7 @@
@@ -3033,7 +3033,7 @@
diff --git a/docs/interfaces/redirectloginoptions.html b/docs/interfaces/redirectloginoptions.html
index d5f4d61c9..976ea8e66 100644
--- a/docs/interfaces/redirectloginoptions.html
+++ b/docs/interfaces/redirectloginoptions.html
@@ -2882,7 +2882,7 @@ appState: any
@@ -2908,7 +2908,7 @@
@@ -2924,7 +2924,7 @@
@@ -2942,7 +2942,7 @@
@@ -2962,7 +2962,7 @@ fragment: string
@@ -2978,7 +2978,7 @@
Optional login_hint
Optional max_age
Optional prompt
Optional scope
Optional ui_locales
Optional acr_values
@@ -2892,7 +2892,7 @@Optional appState
Optional audience
Optional connection
Optional display
Optional fragment
Optional id_token_hi
@@ -2994,7 +2994,7 @@
@@ -3013,7 +3013,7 @@
@@ -3031,7 +3031,7 @@
@@ -3051,7 +3051,7 @@ uri: string
@@ -3070,7 +3070,7 @@
@@ -3088,7 +3088,7 @@
diff --git a/docs/interfaces/redirectloginresult.html b/docs/interfaces/redirectloginresult.html
index 97a4917e8..109951e66 100644
--- a/docs/interfaces/redirectloginresult.html
+++ b/docs/interfaces/redirectloginresult.html
@@ -2818,7 +2818,7 @@ appState: any
diff --git a/package-lock.json b/package-lock.json
index ff01b8bb1..fe5b2752e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@auth0/auth0-spa-js",
- "version": "1.8.1",
+ "version": "1.8.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 3513f165a..9b07d8942 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"name": "@auth0/auth0-spa-js",
"description": "Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE",
"license": "MIT",
- "version": "1.8.1",
+ "version": "1.8.2",
"main": "dist/lib/auth0-spa-js.cjs.js",
"types": "dist/typings/index.d.ts",
"module": "dist/auth0-spa-js.production.esm.js",
diff --git a/src/version.ts b/src/version.ts
index 0c1256512..82c71065f 100644
--- a/src/version.ts
+++ b/src/version.ts
@@ -1 +1 @@
-export default '1.8.1';
+export default '1.8.2';
Optional login_hint
Optional max_age
Optional prompt
Optional redirect_uri
redirect_Optional scope
Optional ui_locales
Optional appState