diff --git a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2ErrorCodes.java b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2ErrorCodes.java index 3284b810c7..3ef7b57caa 100644 --- a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2ErrorCodes.java +++ b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2ErrorCodes.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -129,4 +129,14 @@ public interface OAuth2ErrorCodes { */ String UNSUPPORTED_TOKEN_TYPE = "unsupported_token_type"; + /** + * {@code invalid_redirect_uri} - The value of one or more redirection URIs is + * invalid. + * + * @since 5.6 + * @see RFC-7591 + * - Section 3.2.2 - Client Registration Error Response + */ + String INVALID_REDIRECT_URI = "invalid_redirect_uri"; + }