diff --git a/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java b/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java index 9a33761f..41f05419 100644 --- a/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java +++ b/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java @@ -17,6 +17,7 @@ import org.springframework.security.oauth2.provider.client.ClientCredentialsToke import org.springframework.security.oauth2.provider.code.AuthorizationCodeServices; import org.springframework.security.oauth2.provider.code.AuthorizationCodeTokenGranter; import org.springframework.security.oauth2.provider.code.InMemoryAuthorizationCodeServices; +import org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices; import org.springframework.security.oauth2.provider.implicit.ImplicitTokenGranter; import org.springframework.security.oauth2.provider.password.ResourceOwnerPasswordTokenGranter; import org.springframework.security.oauth2.provider.refresh.RefreshTokenGranter; @@ -60,7 +61,8 @@ public class TokenGranterConfig { @Autowired private IValidateCodeService validateCodeService; - private AuthorizationCodeServices authorizationCodeServices; + @Autowired + private RandomValueAuthorizationCodeServices authorizationCodeServices; private boolean reuseRefreshToken = true; diff --git a/zlt-web/back-web/src/main/resources/static/pages/attestation/app.html b/zlt-web/back-web/src/main/resources/static/pages/attestation/app.html index dddc7fb0..4ce78a87 100644 --- a/zlt-web/back-web/src/main/resources/static/pages/attestation/app.html +++ b/zlt-web/back-web/src/main/resources/static/pages/attestation/app.html @@ -69,6 +69,9 @@ + + +