Skip to content

Commit

Permalink
Docs: SvelteKit Google tutorial: provide filename src/lib/server/oaut…
Browse files Browse the repository at this point in the history
…h.ts for respective code sample
  • Loading branch information
lolmaus committed Feb 24, 2025
1 parent f4333e2 commit 8ef4d88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/tutorials/google-oauth/sveltekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ npm install arctic
Initialize the Google provider with the client ID, client secret, and redirect URI.

```ts
// src/lib/server/oauth.ts
import { Google } from "arctic";
import { GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET } from "$env/static/private";

Expand Down

0 comments on commit 8ef4d88

Please sign in to comment.