Skip to content

Commit baa15f4

Browse files
docs: filename in google getting started doc (#12938)
* Fix file in Google example File link for the example references the APP route when the content of the example references the providers as in the `auth.ts` file. * Update docs/pages/getting-started/providers/google.mdx --------- Co-authored-by: Thang Vu <[email protected]>
1 parent faee6af commit baa15f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/getting-started/providers/google.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Alternatively, you can also pass options in the `params` object of `authorizatio
111111

112112
If you need access to the RefreshToken or AccessToken for a Google account and you are not using a database to persist user accounts, this may be something you need to do.
113113

114-
```ts filename="app/api/auth/[...nextauth]/route.ts"
114+
```ts filename="./auth.ts"
115115
import Google from "next-auth/providers/google"
116116

117117
export const { handlers, auth, signIn, signOut } = NextAuth({

0 commit comments

Comments
 (0)