Skip to content

Commit 8203aaa

Browse files
committed
fixed UI for token endpoint auth method
1 parent 1fcef85 commit 8203aaa

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

openid-connect-server-webapp/src/main/webapp/resources/template/client.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ <h1><%=(id == null ? 'New' : 'Edit')%> Client</h1>
319319
<div class="tab-pane" id="client-secret-tab">
320320

321321
<div class="control-group" id="tokenEndpointAuthMethod">
322-
<label class="control-label"><span class="label label-default nyi"><i class="icon-road icon-white"></i> NYI </span> Token Endpoint Authentication Method</label>
322+
<label class="control-label">Token Endpoint Authentication Method</label>
323323
<div class="controls">
324324
<label class="radio">
325325
<input type="radio" name="tokenEndpointAuthMethod" value="SECRET_BASIC" <%=(tokenEndpointAuthMethod == 'SECRET_BASIC' ? 'checked' : '')%>> Client Secret over HTTP Basic
@@ -331,7 +331,7 @@ <h1><%=(id == null ? 'New' : 'Edit')%> Client</h1>
331331
<input type="radio" name="tokenEndpointAuthMethod" value="SECRET_JWT" <%=(tokenEndpointAuthMethod == 'SECRET_JWT' ? 'checked' : '')%>> Client Secret via symmetrically-signed JWT assertion
332332
</label>
333333
<label class="radio">
334-
<input type="radio" name="tokenEndpointAuthMethod" value="PRIVATE_KEY_JWT" <%=(tokenEndpointAuthMethod == 'PRIVATE_KEY_JWT' ? 'checked' : '')%>> Asymmetrically-signed JWT assertion
334+
<input type="radio" name="tokenEndpointAuthMethod" value="PRIVATE_KEY" <%=(tokenEndpointAuthMethod == 'PRIVATE_KEY' ? 'checked' : '')%>> Asymmetrically-signed JWT assertion
335335
</label>
336336
<label class="radio">
337337
<input type="radio" name="tokenEndpointAuthMethod" value="NONE" <%=(tokenEndpointAuthMethod == 'NONE' ? 'checked' : '')%>> No authentication

openid-connect-server-webapp/src/main/webapp/resources/template/dynreg.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,19 +321,19 @@ <h1><%=(client.client_id == null ? 'New' : 'Edit')%> Client</h1>
321321
<div class="tab-pane" id="client-secret-tab">
322322

323323
<div class="control-group" id="tokenEndpointAuthMethod">
324-
<label class="control-label"><span class="label label-default nyi"><i class="icon-road icon-white"></i> NYI </span> Token Endpoint Authentication Method</label>
324+
<label class="control-label">Token Endpoint Authentication Method</label>
325325
<div class="controls">
326326
<label class="radio">
327-
<input type="radio" name="tokenEndpointAuthMethod" value="SECRET_BASIC" <%=(client.token_endpoint_auth_method == 'SECRET_BASIC' ? 'checked' : '')%>> Client Secret over HTTP Basic
327+
<input type="radio" name="tokenEndpointAuthMethod" value="client_secret_basic" <%=(client.token_endpoint_auth_method == 'client_secret_basic' ? 'checked' : '')%>> Client Secret over HTTP Basic
328328
</label>
329329
<label class="radio">
330-
<input type="radio" name="tokenEndpointAuthMethod" value="SECRET_POST" <%=(client.token_endpoint_auth_method == 'SECRET_POST' ? 'checked' : '')%>> Client Secret over HTTP POST
330+
<input type="radio" name="tokenEndpointAuthMethod" value="client_secret_post" <%=(client.token_endpoint_auth_method == 'client_secret_post' ? 'checked' : '')%>> Client Secret over HTTP POST
331331
</label>
332332
<label class="radio">
333-
<input type="radio" name="tokenEndpointAuthMethod" value="SECRET_JWT" <%=(client.token_endpoint_auth_method == 'SECRET_JWT' ? 'checked' : '')%>> Client Secret via symmetrically-signed JWT assertion
333+
<input type="radio" name="tokenEndpointAuthMethod" value="client_secret_jwt" <%=(client.token_endpoint_auth_method == 'client_secret_jwt' ? 'checked' : '')%>> Client Secret via symmetrically-signed JWT assertion
334334
</label>
335335
<label class="radio">
336-
<input type="radio" name="tokenEndpointAuthMethod" value="PRIVATE_KEY_JWT" <%=(client.token_endpoint_auth_method == 'PRIVATE_KEY_JWT' ? 'checked' : '')%>> Asymmetrically-signed JWT assertion
336+
<input type="radio" name="tokenEndpointAuthMethod" value="private_key_jwt" <%=(client.token_endpoint_auth_method == 'private_key_jwt' ? 'checked' : '')%>> Asymmetrically-signed JWT assertion
337337
</label>
338338
<label class="radio">
339339
<input type="radio" name="tokenEndpointAuthMethod" value="NONE" <%=(client.token_endpoint_auth_method == 'NONE' ? 'checked' : '')%>> No authentication

0 commit comments

Comments
 (0)