auth0-spa-js

Auth0 authentication for Single Page Applications (SPA) with PKCE

MIT License

Downloads
3.5M
Stars
912
Committers
68

Bot releases are hidden (Show)

auth0-spa-js - v1.6.2

Published by stevehobbsdev almost 5 years ago

auth0-spa-js - v1.7.0-beta.1

Published by stevehobbsdev almost 5 years ago

Added

New cache location options

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.

auth0-spa-js - v1.6.1

Published by stevehobbsdev almost 5 years ago

auth0-spa-js - v1.6.0

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

auth0-spa-js - v1.5.0

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

auth0-spa-js - v1.4.2

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

auth0-spa-js - v1.4.0

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

auth0-spa-js - v1.3.2

Published by stevehobbsdev about 5 years ago

parseQueryString now removes hash fragment on query before parsing #246

auth0-spa-js - v1.3.1

Published by luisrudge about 5 years ago

Fixed
Fix IE msCrypto.subtle usage https://github.com/auth0/auth0-spa-js/pull/242

auth0-spa-js - v1.3.0

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

auth0-spa-js - v1.2.4

Published by luisrudge about 5 years ago

Fixed

Fix empty PKCE code challenge https://github.com/auth0/auth0-spa-js/pull/221

auth0-spa-js - v.1.2.3

Published by luisrudge about 5 years ago

Fixed

Fix incorrect state extraction from query string https://github.com/auth0/auth0-spa-js/pull/197

auth0-spa-js - v1.2.1

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

auth0-spa-js - v1.2.0

Published by luisrudge about 5 years ago

Fixed

Added

auth0-spa-js - v1.1.0

Published by luisrudge over 5 years ago

Changed

auth0-spa-js - v1.0.1

Published by luisrudge over 5 years ago

Changed

auth0-spa-js - v1.0.0

Published by luisrudge over 5 years ago

Initial Release

auth0-spa-js - 1.0.0-beta.2

Published by luisrudge over 5 years ago

Package Rankings
Top 1.03% on Npmjs.org
Top 24.88% on Repo1.maven.org
Badges
Extracted from project README
Codecov License