I am currently working with next.js and typescript, and I want to incorporate Google Auth0 for authentication.
However, I encountered an error:
Module '"@auth0/nextjs-auth0"' has no exported member 'UserProvider'.
I tried searching on Google for a solution but couldn't find anything. Can someone help me resolve this issue?
import '../styles/globals.css'
import type { AppProps } from 'next/app'
import { UserProvider } from '@auth0/nextjs-auth0'
function MyApp({ Component, pageProps }: AppProps) {
return (
<UserProvider>
<Component {...pageProps} />
</UserProvider>
)
}
export default MyApp