# React Router

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

Run it locally with: &#x20;

```bash
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
```

{% embed url="<https://github.com/keycloakify/oidc-spa/tree/main/examples/react-router>" %}
Source code
{% endembed %}
