3.1.2.3. 动态配置(3.1.2.3. Dynamic Configuration)
3.1.2.3. 动态配置
如果多个重定向URI被注册,或者如果只有部分重定向URI被注册,或者如果没有重定向URI被注册,客户端都必须使用“redirect_uri”请求参数在授权请求中包含重定向URI。
当重定向URI被包含在授权请求中时,若有任何重定向URI被注册,授权服务器必须将接收到的值与至少一个已注册的重定向URI(或URI部分)按RFC3986第6节所述进行比较并匹配。如果客户端注册包含了完整的重定向URI,授权服务器必须使用RFC3986第6.2.1节中定义的简单字符串比较法比对这两个URI 。
3.1.2.3. Dynamic Configuration
xxxxxxxxxx
1
If multiple redirection URIs have been registered, if only part of
2
the redirection URI has been registered, or if no redirection URI has
3
been registered, the client MUST include a redirection URI with the
4
authorization request using the "redirect_uri" request parameter.
5
6
When a redirection URI is included in an authorization request, the
7
authorization server MUST compare and match the value received
8
against at least one of the registered redirection URIs (or URI
9
components) as defined in [RFC3986] Section 6, if any redirection
10
URIs were registered. If the client registration included the full
11
redirection URI, the authorization server MUST compare the two URIs
12
using simple string comparison as defined in [RFC3986] Section 6.2.1.
No Comments