8000 Enhance type safety in Auth0Provider and reducer by introducing generic user type by gyaneshgouraw-okta · Pull Request #842 · auth0/auth0-react · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enhance type safety in Auth0Provider and reducer by introducing generic user type #842

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gyaneshgouraw-okta
Copy link
Contributor

🔄 Changes

  • Enhanced type safety in Auth0Provider and its reducer by introducing a generic user type.
  • Updated Auth0ProviderOptions interface to accept a generic user type.
  • Modified the onRedirectCallback function to accept the generic user type.
  • Updated the reducer function to handle the generic user type.

🧪 Testing

  • The changes were tested by integrating them to a sample app and verifying with a generic user type

💥 Impact

📋 Checklist

  • Code follows the project's coding standards
  • All tests are passing

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.

2 participants
0