Closed valpackett closed 6 years ago
Have you tried compiling omnibear from the source here? GitHub has the updated micropub-helper
library but the released version doesn't.
I haven't really fully tested the micropub-helper
header handling but I think it should work
Oh. It's broken there. It requires the rel
to be quoted. I'll send a fix to micropub-helper.
https://github.com/grantcodes/micropub/pull/5 — that works, but now I'm at this super helpful screen :)
Looks like I'll need to update my token endpoint to return JSON.
Again the token fetching should be handled by micropub-helper
and it should support json and querystrings. What does your endpoint return?
It returned a 406 error because Omnibear sent Accept: application/json
Ah ok that is actually from here: https://github.com/grantcodes/micropub/blob/05541c028e218e46529eac7e4ff947c720553bfa/src/main.js#L168
Yeah, looks like you do parse querystrings, so it should be application/json, application/x-www-form-urlencoded
Yeah, if you could test it that would be great and I'll push an update
Sweet! I'll update all those accept headers and push another micropub-helper
update
Hi! Tried the extension, got this:
with this header:
micropub-helper
actually supports Link headers, but it seems you use some server-side app to authenticate (is it open source?)