@ -137,6 +137,25 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
@@ -137,6 +137,25 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
// In https://www.rfc-editor.org/rfc/rfc8628.html#section-3.5,
// the following error codes are defined:
// expired_token
// The "device_code" has expired, and the device authorization
// session has concluded. The client MAY commence a new device
// authorization request but SHOULD wait for user interaction before
// The authorization request is still pending as the end user hasn't
// yet completed the user-interaction steps (Section 3.3). The
@ -165,23 +184,6 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
@@ -165,23 +184,6 @@ public final class OAuth2DeviceCodeAuthenticationProvider implements Authenticat
thrownewOAuth2AuthenticationException(error);
}
// expired_token
// The "device_code" has expired, and the device authorization
// session has concluded. The client MAY commence a new device
// authorization request but SHOULD wait for user interaction before
@ -191,6 +191,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@@ -191,6 +191,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@ -209,7 +210,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@@ -209,7 +210,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@ -237,7 +238,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {
@@ -237,7 +238,7 @@ public class OAuth2DeviceCodeAuthenticationProviderTests {