diff --git a/src/main/java/com/monkeyk/sos/config/WebSecurityConfigurer.java b/src/main/java/com/monkeyk/sos/config/WebSecurityConfigurer.java
index 4fadcfc..b5c5815 100644
--- a/src/main/java/com/monkeyk/sos/config/WebSecurityConfigurer.java
+++ b/src/main/java/com/monkeyk/sos/config/WebSecurityConfigurer.java
@@ -66,7 +66,7 @@ public class WebSecurityConfigurer {
formLoginConfigurer
.loginPage("/login")
.loginProcessingUrl("/signin")
- .failureUrl("/login?error=1")
+ .failureUrl("/login?error_failed=true")
// .defaultSuccessUrl("/")
.usernameParameter("oidc_user")
.passwordParameter("oidcPwd");
diff --git a/src/main/resources/templates/clientdetails/test_client.html b/src/main/resources/templates/clientdetails/test_client.html
index 8d0c9e2..bfaadd7 100644
--- a/src/main/resources/templates/clientdetails/test_client.html
+++ b/src/main/resources/templates/clientdetails/test_client.html
@@ -57,7 +57,7 @@
用 'code' 换取 'access_token'
输入第一步获取的code:
+ required="required" size="70"/>