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

Clients' status is draft by default #33

Closed almirbi closed 7 years ago

almirbi commented 7 years ago

When you create a new application, its status is set to draft even after clicking Save Client. Using the Client ID from a client that is in draft mode will return invalid client ID.

It might be un-intuitive for the users to go back to the list of applications and click "Approve" from the menu that appears on hover in order to enable the app. Maybe we should add a checkbox inside of the Edit Application screen that says "Published" or something like that. Thoughts?

almirbi commented 7 years ago

Additionally, you can do the first step of OAuth2 and get the code even though the client is in draft. But when trying to get the access token via the REST API, it returns an error. This should be synced as well

rmccue commented 7 years ago

Maybe we should add a checkbox inside of the Edit Application screen that says "Published" or something like that.

Makes sense; this will eventually need proper UX design, but for now, this should work 👍

Additionally, you can do the first step of OAuth2 and get the code even though the client is in draft.

Definitely a bug.

almirbi commented 7 years ago

Bug fixed in #34, closing this