【oauth2 授权模式 授权码登录:登入后404页面】

【oauth2 授权模式 授权码登录:登入后404页面】,第1张

【oauth2 授权模式 授权码登录:登入后404页面】 1.问题原因 1.1这是一开始访问的地址(其实是错误的一直没发现)
http://localhost:53020/uaa/authorize?client_id=c1&response_type=code&scop=ROLE_ADMIN&redirect_uri=http://www.baidu.com

1.2 进入登入页面 正确信息登入 却是404

1.3

404页面
地址栏的地址是:

http://localhost:53020/uaa/authorize?client_id=c1&response_type=code&scop=ROLE_ADMIN&redirect_uri=http://www.baidu.com

2.问题复现 2.1 地址错了

错误地址

http://localhost:53020/uaa/authorize?client_id=c1&response_type=code&scop=ROLE_ADMIN&redirect_uri=http://www.baidu.com

正确地址

http://localhost:53020/uaa/oauth/authorize?client_id=c1&response_type=code&scop=ROLE_ADMIN&redirect_uri=http://www.baidu.com
少了一个/oauth 记录一下吧

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5708232.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存