Update @auth/sveltekit to latest stable version 1.10.0

- Upgraded @auth/sveltekit from 0.14.0 to 1.10.0
- Updated session API from event.locals.getSession() to event.locals.auth()
- Fixed TypeScript definitions for new auth API in app.d.ts
- Updated layout server load functions to use LayoutServerLoad type
- Fixed session callbacks with proper token type casting
- Switched to generic OIDC provider config to resolve issuer validation issues
- All auth functionality now working with latest Auth.js version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-31 21:45:14 +02:00
parent 36bdb0d65c
commit 74dd2b1f4b
12 changed files with 156 additions and 91 deletions

View File

@@ -24,7 +24,7 @@
"vite": "^7.1.3"
},
"dependencies": {
"@auth/sveltekit": "^0.14.0",
"@auth/sveltekit": "^1.10.0",
"@sveltejs/adapter-node": "^5.0.0",
"cheerio": "1.0.0-rc.12",
"mongoose": "^8.0.0",