Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

token management #1

Closed
pfefferle opened this issue Feb 9, 2015 · 5 comments
Closed

token management #1

pfefferle opened this issue Feb 9, 2015 · 5 comments

Comments

@pfefferle
Copy link
Member

The WP-API team provides a OAuth 1 lib that should work independent/separate from the WP-API plugin https://github.com/WP-API/OAuth1

@aaronpk
Copy link
Member

aaronpk commented Feb 10, 2015

You shouldn't need to turn the Wordpress site into an OAuth 1 server. Not sure why that would be helpful.

@snarfed
Copy link
Member

snarfed commented Feb 10, 2015

@aaronpk i don't personally care whether it's oauth or something else under the covers, but i do need something that can mint, serve, verify, and manage tokens, right?

honestly, my first pass will probably be to hard-code a single static token and use that for everything. i'd then add real token management later. even at that point though, i'd just as soon not build it myself.

@aaronpk
Copy link
Member

aaronpk commented Feb 10, 2015

The wordpress plugin will need to be able to accept an access token in the HTTP header and verify it. The short path to implement this is to use the token endpoint I run at https://tokens.indieauth.com, that way you can just avoid all token management for now, and add that in to the plugin later.

@snarfed
Copy link
Member

snarfed commented Feb 10, 2015

ooh, delegation, nice! thanks for the pointer.

@snarfed snarfed changed the title OAuth 1 lib token management Feb 10, 2015
@aaronpk
Copy link
Member

aaronpk commented Feb 11, 2015

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants