WP-API / OAuth2

Connect applications to your WordPress site without ever giving away your password.
GNU General Public License v2.0
172 stars 42 forks source link

Add personal access tokens #47

Closed rmccue closed 6 years ago

rmccue commented 7 years ago

Fixes #11.

This is an alternative approach to @almirbi's PR #43. Rather than issuing tokens for a specific app, it creates a fake/internal client which can only have tokens issued manually via a form (not via the regular OAuth 2 flow).

It adds a new page linked from a user's profile to create these:

screenshot 2017-09-09 17 17 24

It then displays the token's name in the token list on the user's profile, similar to client names:

screenshot 2017-09-09 17 17 34
rmccue commented 6 years ago

@joehoyle Corrected that issue, and fixed some others I found. Ready for re-review.