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

Possibly incorrect content type on access token response #23

Open
MaybeThisIsRu opened this issue Jul 29, 2020 · 3 comments
Open

Possibly incorrect content type on access token response #23

MaybeThisIsRu opened this issue Jul 29, 2020 · 3 comments

Comments

@MaybeThisIsRu
Copy link

Hi folks,

I'm working on a Micropub client. A user who runs Known with indiepub is encountering an error using my app. Specifically, when their request was successful and I received a 200 OK response, the content-type header was set to application/x-www-form-urlencoded

As per the spec, I expected an application/json response.

Is what's available in the Token.php file correct?

header('Content-Type: application/x-www-form-urlencoded');

@MaybeThisIsRu
Copy link
Author

Looks like someone opened a PR literally 5 hours ago! :)

#22

@scojjac
Copy link

scojjac commented Mar 14, 2021

When I attempted to add a Micropub client (in this case iA Writer) I received an 'Invalid Response' error, although my Known installation shows the client as authorized. I had a similar result when using the Indigenous client on iOS.

@MaybeThisIsRu
Copy link
Author

@scojjac Consider opening a new issue as it sounds like your issue should have been fixed in https://github.com/idno/indiepub/releases/tag/0.9.12.

I'm no longer working on IndieWeb stuff, so I can't really say if your issue is a continuation of the original post.

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