Skip to content

Commit e3abaf7

Browse files
committed
Add OAuth2ErrorCodes.INVALID_REDIRECT_URI
Closes gh-10370
1 parent 33708e6 commit e3abaf7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2ErrorCodes.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -129,4 +129,14 @@ public interface OAuth2ErrorCodes {
129129
*/
130130
String UNSUPPORTED_TOKEN_TYPE = "unsupported_token_type";
131131

132+
/**
133+
* {@code invalid_redirect_uri} - The value of one or more redirection URIs is
134+
* invalid.
135+
*
136+
* @since 5.6
137+
* @see <a href="https://datatracker.ietf.org/doc/html/rfc7591#section-3.2.2">RFC-7591
138+
* - Section 3.2.2 - Client Registration Error Response</a>
139+
*/
140+
String INVALID_REDIRECT_URI = "invalid_redirect_uri";
141+
132142
}

0 commit comments

Comments
 (0)