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

Alternative authentication methods like session cookies #111

Open
valpackett opened this issue Jul 6, 2018 · 1 comment
Open

Alternative authentication methods like session cookies #111

valpackett opened this issue Jul 6, 2018 · 1 comment

Comments

@valpackett
Copy link

Currently, the spec prohibits any form of authentication other than Authorization and form body:

Micropub requests MUST be authenticated by including a Bearer Token in either the HTTP header or a form-encoded body parameter as described in the OAuth Bearer Token RFC

(side note: "the HTTP header" — missing "Authorization"?)

So using Micropub with cookie authentication (i.e. when you're logged into your own site and you use some JavaScript on the page — like micro-panel — to send Micropub requests) technically violates the current spec.

@aaronpk
Copy link
Member

aaronpk commented Jul 6, 2018

That's correct. Allowing cookie authentication opens up a bunch of cans of worms that I would really rather not deal with. In the case of your Micropub client on the same domain as your site, you don't really need a spec to tell you how to authenticate, so I don't think there's a problem really.

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

No branches or pull requests

2 participants