OAuth with SPAs and a Shared BFFGitHub: github.com/mnafshin/oauth What we are building A backend-for-frontend (BFF) that handles OAuth for two single-page apps: React (Vite, port 5173) Angular (port 4200) Both SPAs share one SpJul 5 · 7 min readmnafshin.info
Keycloak Integration End to EndGitHub: github.com/mnafshin/oauth Goal Stand up Keycloak locally, create realm clients, and connect the demos from posts 6–9: Thymeleaf Spring Boot (orders-web on port 8080) Plain Java (orders-web Jul 5 · 8 min readmnafshin.info
OAuth in Plain JavaGitHub: github.com/mnafshin/oauth Why this post exists Spring Security hides PKCE, state, discovery, and token exchange behind auto-configuration. That is good for productivity — bad for interviews aJul 5 · 5 min readmnafshin.info
OAuth with Spring SecurityGitHub: github.com/mnafshin/oauth What we are building A minimal server-rendered Spring Boot web app that: Redirects unauthenticated users to Keycloak Completes Authorization Code + PKCE (Spring haJul 5 · 7 min readmnafshin.info
OAuth Mistakes in ProductionThis post is a checklist disguised as war stories Every item below appears in real audits. OAuth did not fail — configuration and application code did. 1. Redirect URI laxity Mistake: Register https:Jul 4 · 4 min readmnafshin.info