mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
10 lines
411 B
Markdown
10 lines
411 B
Markdown
# 应用授权
|
||
|
||
- 启动注册中心、网关、本服务(sop-auth)
|
||
- 浏览器访问:http://localhost:8087/oauth2/appToAppAuth?app_id=2019032617262200001&redirect_uri=http%3a%2f%2flocalhost%3a8087%2foauth2callback
|
||
- 输入用户名密码登录,这里是`zhangsan/123456`
|
||
|
||
授权接口在`OAuth2Controller`中,查看回调在`CallbackController`中
|
||
|
||
token的维护,重点关注`OAuth2ManagerRedis.java`
|