Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

Authorizing WordPress Users by Nourish contribution levels

jtu0 edited this page Jan 4, 2018 · 3 revisions

Need a comprehensive intro to Oauth? Try Digital Ocean's docs here.

WordPress needs to know what level a user has supported at, so that WP can change user permission levels.

  1. WP helps User tell Nourish it's ok for WP to talk with Nourish on User's behalf
  2. WP gets an AccessToken fro Nourish
  3. WP uses AccessToken to access Nourish API and determine User's contribution level
  4. WP uses API response to change user permission levels (to access subscriber content)

WP details

Rails details

Clone this wiki locally