Spring security
文章平均质量分 96
Spring security6
huaiqiongying
记录
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Springboot3+SpringSecurity6Oauth2+vue3前后端分离认证授权-资源服务
带token请求获取access_token的/oauth2/token接口。带token请求获取授权码/oauth2/authorize接口。带access_token请求/authentication接口。请求获取授权码/oauth2/authorize接口。带access_token请求/hello接口。返回授权码和客户端回调地址(带token)返回access_token。返回access_token。请求登录/login接口。返回/hello接口结果。请求/hello接口。原创 2025-09-03 16:14:30 · 683 阅读 · 0 评论 -
Springboot3+SpringSecurity6Oauth2+vue3前后端分离认证授权-客户端
带token请求获取access_token的/oauth2/token接口。带token请求获取授权码/oauth2/authorize接口。带access_token请求/authentication接口。请求获取授权码/oauth2/authorize接口。带access_token请求/hello接口。返回授权码和客户端回调地址(带token)返回access_token。返回access_token。请求登录/login接口。返回/hello接口结果。请求/hello接口。原创 2025-09-03 16:13:45 · 1016 阅读 · 0 评论 -
Springboot3+SpringSecurity6Oauth2+vue3前后端分离认证授权-授权服务
客户端前端客户端后端授权服务前端授权服务后端资源服务后端请求/hello接口无权限返回code=1001跳转到登录页请求登录/login接口返回授权服务获取授权码页面地址跳转到获取授权码页面请求获取授权码/oauth2/authorize接口无权限返回code=1001跳转到登录页请求登录/login接口验证用户密码登录成功返回token跳转回获取授权码页面带token请求获取授权码/oauth2/authorize接口返回授权码和客户端回调地址(带token)跳转到客户端回调地址(带token)请求回调/原创 2025-09-03 16:12:56 · 1024 阅读 · 0 评论 -
Springboot3+SpringSecurity6Oauth2+vue3前后端分离认证授权
带token请求获取access_token的/oauth2/token接口。跳转回根页面,带access_token请求hello接口,成功返回结果。跳转回调地址,带token请求回调接口,获取access_token。带token请求获取授权码/oauth2/authorize接口。带access_token请求/authentication接口。确认跳转请求客户端登录接口,返回请求授权服务器获取授权码页面地址。带token请求获取授权码接口,返回客户端回调地址。请求登录/login接口验证用户密码。原创 2025-09-03 16:09:52 · 1080 阅读 · 0 评论
分享