Module '"next-auth/react"' declares 'ClientSafeProvider' locally, but it is not exported. #12301
Unanswered
rinarakaki
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need
ClientSafeProvider
to do typing for the return type ofgetProviders
in v5. How can I solve this or is there a bette way?import { ClientSafeProvider } from "next-auth/react";
didn't work.import { ProviderType } from "@auth/core/adapters";
didn't work as well.Beta Was this translation helpful? Give feedback.
All reactions