WP-API / WP-API/OAuth2

Validate args when checking authorisation code

Open
#17 1 comment 0 reactions 1 assignee View on GitHub

@almirbi is already working on this.

Since Sep 5, 2017.

Bug
Dominant language
PHP
Stars
175
Forks
45
Avg merge
17h 8m
Merged PRs (30d)
4

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.