There’s NextAuth.js from vercel, which was made for next.js Recently it was adapted for svelte-kit. The announcement post: https://vercel.com/blog/announcing-sveltekit-auth The keycloak provider doc: https://next-auth.js.org/providers/keycloak The example repository: https://github.com/nextauthjs/sveltekit-auth-example Well it does work, on first sight. Sign in, Sign out, requiring auth for pages, it all works. However you need a confidential client. And this token…
Read Article