2.0.0
jmelberg-okta
released this
14 Aug 23:48
·
784 commits
to master
since this release
Breaking Changes
-
Token retrieval is now asyncronous to account for automatic token renewal.
// ES2016+ const accessToken = await authClient.tokenManager.get('accessToken'); // Handle as a promise authClient.tokenManager.get('accessToken') .then(function(accessToken) { console.log(accessToken); });
-
Removed the following deprecated methods:
idToken.authorize
idToken.verify
idToken.refresh
idToken.decode
Fixes
6723d09
- Make token retrieval async (#128)3147002
- EncodestokenManager
cookies per RFC 6265339803a
- Provide option to skip idToken validation (#131)
Other
3d6db9b
- Removes deprecated methods (#115)953ef05
- Clears whitespace on URLs passed duringauthClient
instantiation (#133 )6b335dd
- Inferurl
from theissuer
to simplify setup (#134)87f430c
- Renamerefresh
torenew
(#145)9c9e491
- Lock down dependencies with apackage-lock.json
file
For more details, please see the CHANGELOG.