OIDC SPA
GitHubHome
v4
  • Documentation
  • Release Notes & Upgrade Instructions
  • 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

The example setup is live here: https://example-tanstack-router.oidc-spa.dev/

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
Logooidc-spa/examples/tanstack-router-file-based at main · keycloakify/oidc-spaGitHub
PreviousDoing Something Only When a New Session is CreatedNextReact Router

Last updated 12 months ago

Was this helpful?