Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

@okta/okta-react-3.0.1

Compare
Choose a tag to compare
@brettritter-okta brettritter-okta released this 20 Apr 21:17
· 80 commits to master since this release
8030421

Features

  • [#738] <LoginCallback/> now accepts an optional errorComponent prop that accepts a component that can be passed an error object.
    • By default <LoginCallback/> will render with the <OktaError/> component

Bug Fixes

  • <LoginCallback> now triggers only after authState.isPending is false, removing the problem of an error message from parsing the tokens from the url being cleared by the pending authState determination. See #719
  • [#738] <Security> now memoizes if it creates an instance of AuthService so as to not create new instances on re-renders