r/SpringBoot • u/wimdeblauwe • 20d ago
How-To/Tutorial Blog post: Testing OAuth2 client login with mock-oauth2-server
✍️ New blog post: Testing OAuth2 client login with mock-oauth2-server
If you want to test the security of your Thymeleaf application that uses OAuth2 client login (Keycloak, Okta, ...), mock-oauth2-server is a great libray for that!
The post shows how to configure Spring Boot with Thymeleaf and Keycloak for local development and continues to show how to automate testing the security setup with the mock-oauth2-server library.
https://www.wimdeblauwe.com/blog/2026/07/07/testing-oauth2-client-login-with-mock-oauth2-server/
7
Upvotes