IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Error Response with invalid redirection URI on authorize endpoint

Open user1336 opened this issue 6 years ago • 5 comments

Same as #4075 but on the Authorize endpoint:

In the OAuth authorization_code flow, when validating the redirect_uri on the authorize endpoint, why do we return an unauthorized_client when the redirect_uri is invalid.

Shouldn't this be an invalid_request according to the spec:

invalid_request The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. https://tools.ietf.org/html/rfc6749#section-4.1.2.1

Parameter is invalid, unauthorized_client says something about the method the client uses to request an authorization_code.

If you agree I can do the work on this.

user1336 avatar Mar 04 '20 22:03 user1336

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Questions are community supported only and the authors/maintainers may or may not have time to reply. If you or your company would like commercial support, please see here for more information.

stale[bot] avatar Mar 19 '20 06:03 stale[bot]

We didn't see a PR for the authorize EP as well, so we just made the fix. Thanks.

brockallen avatar Mar 26 '20 14:03 brockallen

If you'd agreed, I would have made one.

Thanks anyway, this helps a lot!

user1336 avatar Mar 26 '20 16:03 user1336

No worries. Thanks

brockallen avatar Mar 26 '20 16:03 brockallen

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Apr 25 '20 18:04 lock[bot]