Our great sponsors
-
spring-security-oauth2-sample
This module is based on Spring Authorization Server and contains information on using Spring Security OAuth2
-
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 is the relevant database table used by the RP service in this article, and the SQL statements related to creating tables and initializing data can be obtained from here.
Finally, we will create a HomeController to make the test effect more visually significant by controlling the content displayed on the page. We will display different information according to the role and use the thymeleaf template engine to render.