diff --git a/pages/tutorials/google-oauth/nextjs.md b/pages/tutorials/google-oauth/nextjs.md index 0ed6cdcb6..b678c29f1 100644 --- a/pages/tutorials/google-oauth/nextjs.md +++ b/pages/tutorials/google-oauth/nextjs.md @@ -117,6 +117,7 @@ Create an Route Handlers in `app/login/google/callback/route.ts` to handle the c import { generateSessionToken, createSession, setSessionTokenCookie } from "@/lib/session"; import { google } from "@/lib/oauth"; import { cookies } from "next/headers"; +import { decodeIdToken } from "arctic"; import type { OAuth2Tokens } from "arctic";