auth provider props and user manager settings have incompatible types
See original GitHub issue
after upgrading there is a mismatch between the 2 types of usersettings and authprovider props because of of the following change
export declare interface AuthProviderUserManagerProps extends Omit<AuthProviderPropsBase, "redirect_uri" | "client_id" | "authority"> { redirect_uri?: never; client_id?: never; authority?: never; }
I’m not quite sure what was the point of this change, would be very happy for an explanataion:) so i can change accordingly.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Issues · authts/react-oidc-context - GitHub
Lightweight auth library based on oidc-client-ts for React single page ... auth provider props and user manager settings have incompatible ...
Read more >Type props for a context provider wrapping <App/>?
Provider > ); }; But I am trying to streamline the code by reducing <AuthContext. Provider/> to a one liner, which right now...
Read more >Auth | JavaScript SDK | Firebase JavaScript API reference
Auth.fetchSignInMethodsForEmail with the error.email and then asking the user to sign in using one of the returned providers. Once the user is signed...
Read more >A Complete Guide to Next.js Authentication - ButterCMS
In this post, you'll learn about the different ways you can authenticate your Next.js app and how to implement authentication using ...
Read more >Auth0 Expo SDK Quickstarts: Login
This tutorial demonstrates how to add user login to an Expo application using Auth0. We recommend that you log in to follow this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have improved the current solution in the MR #528.
type-wise the modification of the
AuthProviderProps
was a breaking change, sorry about that.It would have been better to keep
AuthProviderProps
exactly the same, namely without optionaluserManager
. But now that we have it, I will keep that and do not change it again…