1.1.9
Good to know
Please check the
versionfield in thepackage.jsonfile for the version number
Support Google One Tap Login
Step 1: Install dependencies:
pnpm i @types/google.accountsStep 2: Add environment variables
.env
NEXT_PUBLIC_GOOGLE_CLIENT_ID=your-google-client-idStep 3: Add components/auth/GoogleOneTap.tsx file
Please go directly to the source repository to copy
Step 4: Import the GoogleOneTap component in app/[locale]/layout.tsx
app/[locale]/layout.tsx
{/* other code */}
<AuthProvider>
{/* other code */}
</AuthProvider>
<GoogleOneTap />