Our great sponsors
-
Thymeleaf
Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This example uses Spring MVC **with Thymeleaf and SpringSecurity 6 to build a regular web application and it uses Authgear to **add authentication with the login page provided by Authgear. The full source code of the examples can be found on GitHub.
*with Thymeleaf and SpringSecurity 6 to build a regular web application and it uses Authgear to **add authentication with the login page
To create a new Spring Boot application you use the Spring Initializr. Then you add dependencies to pom.xml file such as spring-boot-starter-oauth2-client ****starter provides all the Spring Security dependencies needed to add authentication to your web application and Thymeleaf is used just to build a single page UI.
Java 17 or higher. You can use SDKMAN! to install Java if you don't have it already.