Broadleaf Microservices
  • v1.0.0-latest-prod

Auth JS SDK Release Notes for 1.6.3

Features & Enhancements

  • Changes to support the new Remember-Me Login feature. Visit the Auth React documentation for more details on this feature.

    • Add a new redirectToRememberMeUrl method accessible through the useAuth hook.

    • Updated the SessionExpiry type to include a rememberMeAvailable boolean denoting whether a remember-me cookie is available.

    • Introduced new handling for invalid_grant errors coming from requests to get new access tokens. Visit the cross-origin support section for more details on this flow.

  • Upgraded Axios dependency.

  • Updated type documentations.

Bug Fixes

  • Fixed a bug where the SessionExpiry object returned from _requestAuthToken was getting its requiresLoginAt value from the max response header instead of exp.