OAuth2 icon indicating copy to clipboard operation
OAuth2 copied to clipboard

Validate args when checking authorisation code

Open rmccue opened this issue 7 years ago • 1 comments

Tokens\Authorization_Code::validate takes an $args parameter, but we a) don't pass any data in, and b) don't do anything with it. 🙃

Per the spec, we need to validate redirect_uri matched what was passed with the original authorisation request.

rmccue avatar Jul 01 '17 12:07 rmccue

(Noticed by @tfrommen in #8.)

rmccue avatar Jul 01 '17 12:07 rmccue