TanStack Start
The Example/Tutorial
npx gitpick keycloakify/oidc-spa/tree/main/examples/tanstack-start start-oidc
cd start-oidc
npm install
npm run dev
# By default, the example runs against Keycloak.
# You can edit the .env file to test other providers.Instalations
Note: Zod is optional but highly recommended. Writing validators manually is error-prone, and skipping validation means losing early guarantees about what your auth server provides.
Add the plugin to your vite.config.ts:
Usage
You should be able to learn everything there is to know by checkout out the example!
You're journey will start by looking at src/oidc.ts.
Last updated
Was this helpful?