client pkce test

pull/4/head
shengzhaoli.shengz 2023-10-16 23:16:04 +08:00
parent 859116f3bd
commit eb2a047938
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
redirect_uri: <input type="text" value="" ng-model="redirectUri" size="70" redirect_uri: <input type="text" value="" ng-model="redirectUri" size="70"
required="required"/> required="required"/>
<br/> <br/>
<form th:action="@{/oauth2/authorize}" th:method="get"> <form th:action="@{/oauth2/authorize}" th:method="get" target="_blank">
<input type="hidden" name="client_id" value="{{clientId}}"/> <input type="hidden" name="client_id" value="{{clientId}}"/>
<input type="hidden" name="redirect_uri" value="{{redirectUri}}"/> <input type="hidden" name="redirect_uri" value="{{redirectUri}}"/>
<input type="hidden" name="scope" value="{{scope}}"/> <input type="hidden" name="scope" value="{{scope}}"/>
@ -106,7 +106,7 @@
code_challenge: <input type="text" value="" ng-model="codeChallenge" size="70" code_challenge: <input type="text" value="" ng-model="codeChallenge" size="70"
readonly="readonly"/> (后台代码生成,不可修改) readonly="readonly"/> (后台代码生成,不可修改)
<br/> <br/>
<form th:action="@{/oauth2/authorize}" th:method="get"> <form th:action="@{/oauth2/authorize}" th:method="get" target="_blank">
<input type="hidden" name="client_id" value="{{clientId}}"/> <input type="hidden" name="client_id" value="{{clientId}}"/>
<input type="hidden" name="redirect_uri" value="{{redirectUri}}"/> <input type="hidden" name="redirect_uri" value="{{redirectUri}}"/>
<input type="hidden" name="scope" value="{{scope}}"/> <input type="hidden" name="scope" value="{{scope}}"/>