
Managing six authentication states in a React frontend with react-oidc-context and Zitadel
react-oidc-context handles the browser PKCE flow. The real challenge is not the login button, but correctly handling all six authentication states in App.tsx and backend JWT middleware using Zitadel’s JWKS endpoint.
