Auth0 authentication for Single Page Applications (SPA) with PKCE
MIT License
Bot releases are hidden (Show)
Published by stevehobbsdev almost 5 years ago
Published by stevehobbsdev almost 5 years ago
Added
By default, auth0-spa-js will store tokens in memory. We have now added a second option, allowing you to store tokens in local storage. This has the benefit of being able to persist tokens across page refreshes.
The storage strategy can be configured using the option cacheLocation
when invoking createAuth0Client
:
const auth0 = await createAuth0Client({
domain: '<your Auth0 domain>',
client_id: '<your Auth0 client ID>',
cacheLocation: 'localstorage'
});
The cacheLocation
option can be set to one of two values: memory
, or localstorage
.
Note: Please be aware that configuring the SDK to store tokens in local storage could leave your tokens vulnerable in the event of an XSS attack.
Published by stevehobbsdev almost 5 years ago
Included core-js polyfill for String.includes
to fix an issue with browser-tabs-lock in IE11 stevehobbsdev - https://github.com/auth0/auth0-spa-js/pull/325
Added import definition to Getting Started section in the Readme for clarity thundermiracle - https://github.com/auth0/auth0-spa-js/pull/294
Published by stevehobbsdev almost 5 years ago
Added
Added buildAuthorizeUrl and url parameter to handleRedirectCallback - austin43 - https://github.com/auth0/auth0-spa-js/pull/280
Fixed
Released browser lock on getTokenSilently error - https://github.com/auth0/auth0-spa-js/pull/276
Updates browser-tabs-lock to fix issue of long acquired lock - super-tokens - https://github.com/auth0/auth0-spa-js/commit/3413e30bdb5955c818989cdc050079fa6efb6050
Published by stevehobbsdev almost 5 years ago
Added
Add a new property 'fragment' to be appended to the authorize URL on redirect - https://github.com/auth0/auth0-spa-js/pull/249
Published by luisrudge almost 5 years ago
Fixed
Update typescript definition for max_age param - https://github.com/auth0/auth0-spa-js/pull/260
Fix for typings files in packaged SDK - https://github.com/auth0/auth0-spa-js/pull/263
Published by stevehobbsdev almost 5 years ago
Added
Add 'lock' to prevent getTokenSilently
to be invoked in parallel https://github.com/auth0/auth0-spa-js/pull/238
Improved OIDC compliance https://github.com/auth0/auth0-spa-js/pull/248
Fixed
Fix for race condition when using sha256
on IE11 https://github.com/auth0/auth0-spa-js/pull/252
Fixed the codeowners file with the correct group https://github.com/auth0/auth0-spa-js/pull/253
Document leeway default value https://github.com/auth0/auth0-spa-js/pull/256
Clear transaction data on error https://github.com/auth0/auth0-spa-js/pull/254
Published by luisrudge about 5 years ago
Fixed
Fix IE msCrypto.subtle usage https://github.com/auth0/auth0-spa-js/pull/242
Published by luisrudge about 5 years ago
Fixed
Add missing char for nonce/state generation https://github.com/auth0/auth0-spa-js/pull/230
Fix query parsing when using hash routing https://github.com/auth0/auth0-spa-js/pull/231
Fix safari10 initialization error https://github.com/auth0/auth0-spa-js/pull/232
Changed
Add early expiration of Access Token in cache https://github.com/auth0/auth0-spa-js/pull/233
Published by luisrudge about 5 years ago
Fixed
Fix empty PKCE code challenge https://github.com/auth0/auth0-spa-js/pull/221
Published by luisrudge about 5 years ago
Fixed
Fix incorrect state extraction from query string https://github.com/auth0/auth0-spa-js/pull/197
Published by luisrudge about 5 years ago
Fixed
Replace promise polyfill for a pure one. This fixes using this library with zone.js. https://github.com/auth0/auth0-spa-js/pull/180
Published by luisrudge about 5 years ago
Fixed
options.audience
https://github.com/auth0/auth0-spa-js/pull/134
Added
Published by luisrudge over 5 years ago
Changed
Published by luisrudge over 5 years ago
Changed
Published by luisrudge over 5 years ago
Published by luisrudge over 5 years ago
Typescript fix https://github.com/auth0/auth0-spa-js/pull/21