【发布时间】:2016-08-25 00:10:36
【问题描述】:
我正在深入研究 Spring OAuth,发现一些相互矛盾的信息。
具体来说,this tutorial 声明/oauth/token 端点在将刷新令牌授予客户端应用程序之前处理用户名和密码。相比之下,Spring OAuth Developer Guide 提到了 /oauth/authorize 和 /oauth/token 端点,但并未具体说明它们的工作原理。
/oauth/authorize 是否 100% 执行username/password/nOtherFactors 检查,然后向/oauth/token 端点发送刷新令牌给客户端,以便客户端随后将刷新令牌发送给/oauth/token 端点?
还是全部由/oauth/token 端点处理?
/oauth/authorize 和/oauth/token 之间的关系对于不同的授权类型是否不同?怎么样?
【问题讨论】:
-
我已经从中删除了两个图像,其中图像主机已经死亡。如果你能再次拿到这些图片,请把它们放到官方CDN上。
标签: spring oauth oauth-2.0 spring-security-oauth2 spring-oauth2