
		<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
			<channel>
				<title>MikeDaDev&#39;s Blog – stories, insights &amp; ideas</title>
				<link>https://mike.tungdadev.com/blog</link>
				<description>A personal space on the cloud where I document my programming journey, sharing lessons, insights and resources for fellow developers.</description>
				<language>en</language>
				<managingEditor>bthanhtung.ite@gmail.com (MikeDaDev)</managingEditor>
				<webMaster>bthanhtung.ite@gmail.com (MikeDaDev)</webMaster>
				<lastBuildDate>Sat, 28 Feb 2026 00:00:00 GMT</lastBuildDate>
				<atom:link href="https://mike.tungdadev.com/tags/auth/feed.xml" rel="self" type="application/rss+xml"/>
				
		<item>
			<guid>https://mike.tungdadev.com/blog/keycloak</guid>
			<title>Keycloak with Spring Boot: SSO and OAuth2/OIDC for microservices</title>
			<link>https://mike.tungdadev.com/blog/keycloak</link>
			<description>When every service writes its own login and signs its own JWTs, a hole is only a matter of time. Set up Keycloak as a central IAM: the OAuth2/OIDC flows, the token lifecycle and a Spring Boot Resource Server configuration.</description>
			<pubDate>Sat, 28 Feb 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (MikeDaDev)</author>
			<category>auth</category><category>spring-boot</category><category>microservices</category>
		</item>
	
		<item>
			<guid>https://mike.tungdadev.com/blog/keycloak-basic</guid>
			<title>Keycloak in production: tokens, HA clusters and Spring Boot 3 integration</title>
			<link>https://mike.tungdadev.com/blog/keycloak-basic</link>
			<description>A token issued to one client can call another service&#39;s API simply because the aud check is missing. Self-hosting Keycloak vs buying SaaS, OAuth2/OIDC, Infinispan HA and secure Spring Boot 3 integration.</description>
			<pubDate>Sat, 18 May 2024 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (MikeDaDev)</author>
			<category>auth</category><category>spring-boot</category><category>security</category>
		</item>
	
		<item>
			<guid>https://mike.tungdadev.com/blog/spring-security-jwt</guid>
			<title>Spring Security with JWT: OAuth2 Resource Server and RSA keys</title>
			<link>https://mike.tungdadev.com/blog/spring-security-jwt</link>
			<description>Tired of hand-writing JWT filters and catching exceptions manually? Build a Spring Boot API that authenticates with the OAuth2 Resource Server and an RSA key pair, no jjwt required.</description>
			<pubDate>Sat, 04 May 2024 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (MikeDaDev)</author>
			<category>auth</category><category>spring-boot</category><category>security</category>
		</item>
	
		<item>
			<guid>https://mike.tungdadev.com/blog/spring-security</guid>
			<title>Spring Security 6: the filter chain, JWT with Keycloak, and the 401/403 traps</title>
			<link>https://mike.tungdadev.com/blog/spring-security</link>
			<description>A controller throws an error and the client gets a 403 instead of a 500? The path a request takes through SecurityFilterChain, JWT with Keycloak, @PreAuthorize, multiple filter chains and a production checklist.</description>
			<pubDate>Sat, 06 Apr 2024 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (MikeDaDev)</author>
			<category>auth</category><category>spring-boot</category><category>security</category>
		</item>
	
		<item>
			<guid>https://mike.tungdadev.com/blog/session-cookies-jwt</guid>
			<title>Session, cookies and JWT: keeping users logged in across multiple servers</title>
			<link>https://mike.tungdadev.com/blog/session-cookies-jwt</link>
			<description>Add a second server and users get logged out at random? This post covers where session, cookies and JWT sit in the stack, how each one scales, and how to combine an access token with a refresh token in Spring Boot.</description>
			<pubDate>Sun, 24 Mar 2024 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (MikeDaDev)</author>
			<category>auth</category><category>security</category><category>api</category>
		</item>
	
		<item>
			<guid>https://mike.tungdadev.com/blog/cross-origin-basic</guid>
			<title>CORS and CSRF: preflight, origin reflection and gateway configuration</title>
			<link>https://mike.tungdadev.com/blog/cross-origin-basic</link>
			<description>Fixing a CORS error by reflecting the Origin header lets an attacker read your responses. Same-Origin Policy, OPTIONS preflight, how CORS differs from CSRF, and how to tighten CORS at the API Gateway.</description>
			<pubDate>Sat, 24 Feb 2024 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (MikeDaDev)</author>
			<category>security</category><category>auth</category><category>api</category>
		</item>
	
		<item>
			<guid>https://mike.tungdadev.com/blog/spring-security-annotations</guid>
			<title>Spring Security annotations: authorization down to every method, not just the URL</title>
			<link>https://mike.tungdadev.com/blog/spring-security-annotations</link>
			<description>Blocking access in the SecurityFilterChain alone is not enough. How to use @PreAuthorize with SpEL, and how to avoid the side-effect trap of @PostAuthorize, the @PostFilter cost and role hierarchy pitfalls.</description>
			<pubDate>Sat, 21 Oct 2023 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (MikeDaDev)</author>
			<category>auth</category><category>spring-boot</category><category>security</category>
		</item>
	
			</channel>
		</rss>
	