question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

auth provider props and user manager settings have incompatible types

See original GitHub issue

image 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:open
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pamapacommented, Sep 28, 2022

I have improved the current solution in the MR #528.

1reaction
pamapacommented, Sep 28, 2022

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 optional userManager. But now that we have it, I will keep that and do not change it again…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found