Releases: okta/okta-auth-js
Releases · okta/okta-auth-js
2.9.0
Features
- add5369 Add support to pass callback to poll function
Bug Fixes
- 541683 Origin mismatch will now cause promise rejection (token renew)
- d9900a TokenManager: return existing promise for concurrent requests
- 77ece4 Clear token on 'AuthSdkError'
2.8.0
Features
- (#243) - Adds new introspect API
2.7.0
Features
- (#238) - Adds pass-thru of optional 'loginHint' and 'idpScopes' params (resolves issue #214)
2.6.3
Other
- (#235) - Option
grantType
has been deprecated and will be removed in 3.0
2.6.2
Features
Bug Fixes
-
(#233) The default responseMode
was incorrectly set to fragment
instead of query
when the responseType
was code
. This regression was introduced in version 2.6.0
.
-
747216b fix build process, so that /dist/okta-auth-js.min.js is for browsers (since version 2.2.0, dist/ output was being built for node.js applications, which was not intended) (#193)
2.6.1
Features
- d8d2fee TokenManager: new option
expireEarlySeconds
Bug Fixes
- TokenManager: Re-enables use of custom storage keys
Other
- TokenManager: Document the
maxClockSkew
option
2.6.0
Features
- #205 - Adds support for PKCE.
Other
- #213 - Fixes img link to state model diagram in the README.
2.5.0
Features
- #201 - New TokenManager option to support HTTPS-only "secure" cookies.
Other
- #199 - Use
fetch
as the default request agent (instead of reqwest
).
2.3.1
Bug Fixes
- #187 - When deprecated
ajaxRequest
was passed to config, the logger for the deprecate message was still using window.console
. This fix makes the logger isomorphic.
2.3.0
Features
- #184 - Adds support for calling the AuthN API from Node