Releases: okta/okta-auth-js
Releases · okta/okta-auth-js
@okta/[email protected]
@okta/[email protected]
2.0.1
Bug Fixes
- Fixed an problem, introduced in 2.0.0, that was causing tokens to be refreshed every time
authClient.tokenManager.get('accessToken')
was called.
2.0.0
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.
1.17.0
1.16.0
1.15.0
Bug fix
- Fix the token.getWithPopup doesn't work in IE10/11 when cross domains. #105