Open MatthewEppelsheimer opened 6 years ago
We might need @bsoule's help thinking this through more carefully but isn't oauth the right way to automate this? Ie, in the Beeminder API docs, skip the "personal auth" section -- what the current process uses -- and instead use this: http://api.beeminder.com/#client-oauth-oauth
Current process:
The current process may seem straightforward, but it requires some knowledge we developer-types take for granted that is certain to lose some folks. It also requires some manual steps that could be easily automated.
auth_token
key's value, and copy just that part(Step 2 is where we lose some non-technical people.)
Proposed process:
The goal here is to automate as much as possible, and minimize what the user has to do.
curl
essentially, but we'll actually use WordPress' "HTTP API") the username & key and sets it for you via AJAX. If you skipped Step 0, UI prompts you to login and refresh the page.Thoughts / questions: