OIDC SPA
GitHubHome
v5
  • 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
    • 👨‍🔧User impersonation
    • 👮Disabeling token persistance
  • Example setups
    • 🛣️TanStack Router
    • 🛤️React Router
  • Resources
    • 🔑Keycloak Configuration Guide
    • 🍪End of third-party cookies
    • 🗝️JWT Of the Access Token
    • 💬Discord Server
    • ⬆️Migration Guides
      • ⬆️v4 -> v5
  • ⭐Sponsors
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Example setups

🛤️React Router

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

Run it locally with:

git clone https://github.com/keycloakify/oidc-spa
mv oidc-spa/examples/react-router oidc-spa-react-router
rm -rf oidc-spa
cd oidc-spa-react-router
yarn
yarn dev
https://github.com/keycloakify/oidc-spa/tree/main/examples/react-router
Source code

PreviousTanStack RouterNextKeycloak Configuration Guide

Was this helpful?