client, jsp -> html , test
parent
f160f6ae5f
commit
8be351e22b
|
@ -69,7 +69,7 @@ public class ClientDetailsController {
|
||||||
public String registerClient(Model model) {
|
public String registerClient(Model model) {
|
||||||
OauthClientDetailsDto formDto = new OauthClientDetailsDto();
|
OauthClientDetailsDto formDto = new OauthClientDetailsDto();
|
||||||
//初始化 v3.0.0 added
|
//初始化 v3.0.0 added
|
||||||
formDto.setClientAuthenticationMethods("client_secret_basic");
|
formDto.setClientAuthenticationMethods("client_secret_post");
|
||||||
formDto.setScopes(OidcScopes.OPENID);
|
formDto.setScopes(OidcScopes.OPENID);
|
||||||
formDto.setAuthorizationGrantTypes(AuthorizationGrantType.AUTHORIZATION_CODE.getValue());
|
formDto.setAuthorizationGrantTypes(AuthorizationGrantType.AUTHORIZATION_CODE.getValue());
|
||||||
|
|
||||||
|
|
|
@ -81,6 +81,7 @@
|
||||||
<input type="checkbox" th:name="clientAuthenticationMethods" th:value="private_key_jwt"
|
<input type="checkbox" th:name="clientAuthenticationMethods" th:value="private_key_jwt"
|
||||||
th:field="*{clientAuthenticationMethods}"/> private_key_jwt
|
th:field="*{clientAuthenticationMethods}"/> private_key_jwt
|
||||||
</label>
|
</label>
|
||||||
|
<br/>
|
||||||
<em class="label label-success">OAuth2.1新增</em>
|
<em class="label label-success">OAuth2.1新增</em>
|
||||||
<p class="help-block">选择在认证时支持传递<em>client_secret</em>参数的方式;在正式环境中,此值一般不需要选择而是由后台创建时根据业务设置即可</p>
|
<p class="help-block">选择在认证时支持传递<em>client_secret</em>参数的方式;在正式环境中,此值一般不需要选择而是由后台创建时根据业务设置即可</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -107,7 +108,9 @@
|
||||||
<input type="checkbox" th:name="scopes" th:value="phone" th:field="*{scopes}"/> phone
|
<input type="checkbox" th:name="scopes" th:value="phone" th:field="*{scopes}"/> phone
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<p class="help-block">scopes值由OIDC 1.0协议中定义,<em>openid</em>必须选择;在正式环境中,此值一般不需要选择而是由后台创建时根据业务设置即可</p>
|
<p class="help-block">scopes值由OIDC 1.0协议中定义(详见<a
|
||||||
|
href="https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims" target="_blank">#ScopeClaims</a>),<em>openid</em>必须选择;在正式环境中,此值一般不需要选择而是由后台创建时根据业务设置即可
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue