OAuth2
OAuth2 copied to clipboard
Validate args when checking authorisation code
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.
(Noticed by @tfrommen in #8.)