Are there any more documentation / examples/ youtube videos on custom-auth-provider? I need to implement that on a ? I created my project like this and am a bit lost.
npx create-plasmic-app@latest
? What is your project named? my-app
? What language do you want to use? TypeScript
? What React framework do you want to use? Next.js
? Which scheme do you want to use to integrate Plasmic? Codegen
PlasmicRootProvider
doesn’t have a user
or userAuthToken
prop:
import 'styles/globals.css';
import { PlasmicRootProvider } from '@plasmicapp/react-web';
import type { AppProps } from 'next/app';
import Head from 'next/head';
export default function MyApp({ Component, pageProps }: AppProps) {
return (
<PlasmicRootProvider Head={Head} user={}>
<Component {...pageProps} />
</PlasmicRootProvider>
);
}
How do I use a custom auth provider with the create-plasmic-app
generated code?