1.1.9
Good to know
Check the
version
field in thepackage.json
file for the version number
Support Google One Tap Login
Step 1: Install dependencies:
pnpm i @types/google.accounts
Step 2: Add environment variables
.env
NEXT_PUBLIC_GOOGLE_CLIENT_ID=your-google-client-id
Step 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 />
