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: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2DeviceCodeAuthenticationProvider.java
+19-17Lines changed: 19 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,25 @@ public Authentication authenticate(Authentication authentication) throws Authent
138
138
// In https://www.rfc-editor.org/rfc/rfc8628.html#section-3.5,
139
139
// the following error codes are defined:
140
140
141
+
// expired_token
142
+
// The "device_code" has expired, and the device authorization
143
+
// session has concluded. The client MAY commence a new device
144
+
// authorization request but SHOULD wait for user interaction before
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2DeviceCodeAuthenticationProviderTests.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,7 @@ public void authenticateWhenUserCodeIsNotInvalidatedThenThrowOAuth2Authenticatio
0 commit comments