This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
@okta/okta-react-3.0.1
brettritter-okta
released this
20 Apr 21:17
·
80 commits
to master
since this release
Features
- [#738]
<LoginCallback/>
now accepts an optionalerrorComponent
prop that accepts a component that can be passed anerror
object.- By default
<LoginCallback/>
will render with the<OktaError/>
component
- By default
Bug Fixes
<LoginCallback>
now triggers only afterauthState.isPending
is false, removing the problem of an error message from parsing the tokens from the url being cleared by the pendingauthState
determination. See #719- [#738]
<Security>
now memoizes if it creates an instance ofAuthService
so as to not create new instances on re-renders