You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: client/src/main/java/com/patternknife/securityhelper/oauth2/client/config/securityimpl/message/CustomSecurityUserExceptionMessage.java
+5-2
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,11 @@ public enum CustomSecurityUserExceptionMessage implements ExceptionMessageInterf
17
17
AUTHENTICATION_PASSWORD_FAILED_EXCEEDED("1The number of password attempts has been exceeded."),
18
18
19
19
// Wrong Authorization Code
20
-
AUTHORIZATION_CODE_NO_EXISTS("1The specified Authorization code does not exist."),
21
-
20
+
AUTHENTICATION_INVALID_RESPONSE_TYPE("1The specified Response Type is invalid."),
21
+
AUTHENTICATION_INVALID_AUTHORIZATION_CODE("1The specified Authorization Code is invalid."),
22
+
AUTHENTICATION_EXPIRED_AUTHORIZATION_CODE("1The specified Authorization Code has been expired."),
23
+
AUTHENTICATION_INVALID_REDIRECT_URI("1The specified Redirect URI is invalid."),
24
+
AUTHENTICATION_SCOPES_NOT_APPROVED("1The specified Scopes are not approved."),
22
25
// CLIENT ID, SECRET
23
26
AUTHENTICATION_WRONG_CLIENT_ID_SECRET("1Client information is not verified."),
Copy file name to clipboardExpand all lines: lib/src/main/java/io/github/patternknife/securityhelper/oauth2/api/config/security/message/DefaultSecurityUserExceptionMessage.java
+1
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ public enum DefaultSecurityUserExceptionMessage implements ExceptionMessageInter
18
18
// Wrong Authorization Code
19
19
AUTHENTICATION_INVALID_RESPONSE_TYPE("The specified Response Type is invalid."),
20
20
AUTHENTICATION_INVALID_AUTHORIZATION_CODE("The specified Authorization Code is invalid."),
21
+
AUTHENTICATION_EXPIRED_AUTHORIZATION_CODE("The specified Authorization Code has been expired."),
21
22
AUTHENTICATION_INVALID_REDIRECT_URI("The specified Redirect URI is invalid."),
22
23
AUTHENTICATION_SCOPES_NOT_APPROVED("The specified Scopes are not approved."),
Copy file name to clipboardExpand all lines: lib/src/main/java/io/github/patternknife/securityhelper/oauth2/api/config/security/serivce/CommonOAuth2AuthorizationSaverImpl.java
}, 5, logger, "[Authorization Code] An error occurred with the Key during the execution of persistOAuth2Authorization for " + userDetails.getUsername());
@@ -65,22 +92,24 @@ public class CommonOAuth2AuthorizationSaverImpl implements CommonOAuth2Authoriza
0 commit comments