node-oauth2-server icon indicating copy to clipboard operation
node-oauth2-server copied to clipboard

RFC 6749#4.1.2.1 - fix order of error handling

Open kiebzak opened this issue 6 years ago • 0 comments

According to https://tools.ietf.org/html/rfc6749#section-4.1.2.1, only when the redirect_uri & client_id were correct, the authorisation server should inform the client that user had denied access.

The change is to move validation of resource owner approval after the redirect_uri & client_id validation so the correct redirect url is computed.

kiebzak avatar Apr 23 '19 12:04 kiebzak