-
auth-server
is an authorization server built with Spring Authorization Server. -
auth-server
registers an OAuth2 client by default:- clientId: relive-client
- clientSecret: relive-client
- redirectUri: http://127.0.0.1:8070/login/oauth2/code/messaging-gateway-oidc
- scope: openid profile email read
-
auth-server
uses Form authentication by default, and the username and password are admin/password. -
At the beginning of
auth-server
startup, the MySQL database username and password need to be modified, and the database table initialization uses the Flyway database version control component. -
gateway-login
is an API gateway built by Spring Cloud Gateway. Before starting, you need to modify the redis configuration inapplication.yml
. -
resourceserver
is a simple Spring Boot resource server.
The auth-server
database table structure is provided below, and related SQL statements are obtained
from here.