OIDC SPA
GitHubHome
v4
  • Documentation
  • Release Notes & Upgrade Instructions
v4
  • Documentation
    • ๐Ÿ”ฉInstallation
    • ๐Ÿ‘จโ€๐Ÿ”งBasic Usage
    • ๐Ÿ”ŒWeb API
    • โฒ๏ธAuto Logout
    • โ—Error Management
    • ๐ŸŽญMock
    • ๐Ÿ”Tokens Renewal
    • ๐Ÿ›ก๏ธGlobally Enforce Authentication
    • ๐Ÿ”User Account Management
    • ๐Ÿ”„Doing Something Only When a New Session is Created
  • Example setups
    • ๐Ÿ›ฃ๏ธTanStack Router
    • ๐Ÿ›ค๏ธReact Router
  • Resources
    • ๐Ÿ”‘Keycloak Configuration Guide
    • ๐Ÿ‘ฅAccessing Keycloak Groups
    • ๐ŸชEnd of third-party cookies
    • ๐Ÿ—๏ธJWT Of the Access Token
    • ๐Ÿ’ฌDiscord Server
  • โญSponsors
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Example setups

TanStack Router

Vite + TypeScript + React + Tanstack Router

PreviousDoing Something Only When a New Session is CreatedNextReact Router

Last updated 10 months ago

Was this helpful?

The example setup is live here:

Run it locally with:

git clone https://github.com/keycloakify/oidc-spa
mv oidc-spa/examples/tanstack-router-file-based oidc-spa-tanstack-router
rm -rf oidc-spa
cd oidc-spa-tanstack-router
yarn
yarn dev
๐Ÿ›ฃ๏ธ
https://example-tanstack-router.oidc-spa.dev/
Logooidc-spa/examples/tanstack-router-file-based at main ยท keycloakify/oidc-spaGitHub