Skip to content

Commit b35d403

Browse files
authored
Docs: SvelteKit Google tutorial: provide filename src/lib/server/oauth.ts for respective code sample
1 parent f4333e2 commit b35d403

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pages/tutorials/google-oauth/sveltekit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ npm install arctic
4343
Initialize the Google provider with the client ID, client secret, and redirect URI.
4444

4545
```ts
46+
// src/lib/server/oauth.ts
4647
import { Google } from "arctic";
4748
import { GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET } from "$env/static/private";
4849

@@ -231,3 +232,4 @@ export const actions: Actions = {
231232
<button>Sign out</button>
232233
</form>
233234
```
235+
hhhh

0 commit comments

Comments
 (0)