李学强 6 месяцев назад
Родитель
Сommit
72b3473127

+ 1 - 1
lxq-admin/src/main/resources/application.yml

@@ -55,7 +55,7 @@ swagger:
 
 file:
   oss:
-    bucket-name: lxq-store
+    bucket-name: lxq-uni-bucket
     file-prefix: lxq_uni
     endpoint: oss-cn-chengdu.aliyuncs.com
     accessKey: LTAI5tFQDZmc4ybRYembzVMb

+ 2 - 1
lxq-common/lxq-common-security/src/main/java/com/lxq/common/security/support/base/OAuth2ResourceOwnerBaseAuthenticationProvider.java

@@ -218,7 +218,7 @@ public abstract class OAuth2ResourceOwnerBaseAuthenticationProvider<T extends OA
 
 		}
 		catch (Exception ex) {
-//			LOGGER.error("problem in authenticate", ex);
+			LOGGER.error("problem in authenticate", ex);
 			throw oAuth2AuthenticationException((AuthenticationException) ex);
 		}
 
@@ -258,6 +258,7 @@ public abstract class OAuth2ResourceOwnerBaseAuthenticationProvider<T extends OA
 			return new OAuth2AuthenticationException(
 					new OAuth2Error(OAuth2ErrorCodes.INVALID_SCOPE, ErrorTypeEnum.ACCESS_DENIED.getDescription(), ""));
 		}
+		LOGGER.error(authenticationException.getMessage());
 		return new OAuth2AuthenticationException(OAuth2ErrorCodesExpand.UN_KNOW_LOGIN_ERROR);
 	}