那必须是:MIT
It has to be: MIT
更新了SpringBoot3和SpringSecurity6,原有的使用方式发生了不小的变化,所以从新写个Demo,一是我要自己用在后面的SpringCloud项目中。二是很多SpringCloud团队因为OAuth上手难度太大所以放弃使用OAuth,这里也为大家提供一个拿来即用的一个DEMO。
SpringBoot3 and SpringSecurity6 have been updated, and the original usage has changed a lot, so I wrote a new Demo. First, I want to use it in the subsequent SpringCloud project. Second, many SpringCloud teams give up using OAuth because it is too difficult to get started with OAuth. Here is a ready-to-use DEMO for everyone.
oauth-server: OAuth2 Server
resource-server: Resource Server
postman: Test postman
1:JWT作为Token。
2:示例中包含client_credentials和password模式。
3:支持验证用户角色。
1: JWT as a token.
2: Examples include client_credentials and password modes.
3: Supports verification of user roles.