You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance type safety in Auth0Provider and reducer by introducing generic user type (#842)
### 🔄 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
- Improved type safety for the `Auth0Provider` component and reducer.
- No changes to the functionality of the component are expected.
- No performance impact is anticipated.
- This PR addresses issue mentioned in
#748
### 📋 Checklist
- [x] Code follows the project's coding standards
- [x] All tests are passing
* For a sample on using multiple Auth0Providers review the [React Account Linking Sample](https://github.com/auth0-samples/auth0-link-accounts-sample/tree/react-variant)
0 commit comments