Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Added refreshToken and saveCredentials to auth0 hook #883

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

StephenTANM
Copy link

@StephenTANM StephenTANM commented Apr 2, 2024

Changes

Please describe both what is changing and why this is important. Include:

I've added refreshToken and saveCredentials to the auth0 hook for implementations requiring custom handling. For my use case at my professional job, we need to handle the refreshToken a certain way according to biometrics permissions and other factors.

References

Please include relevant links supporting this change such as a:

#625

Please note any links that are not publicly accessible.

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

These methods are provided by the auth0 class but not in the hooks. There have been some use cases in my job that require custom login handling for biometrics and other flows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant