kylewm / flask-micropub

Flask extension to support IndieAuth and Micropub clients.
http://flask-micropub.readthedocs.org/
BSD 2-Clause "Simplified" License
24 stars 2 forks source link

Updates for micropub.rocks auth support #4

Closed martymcguire closed 7 years ago

martymcguire commented 7 years ago

micropub.rocks client tests die on initial authorization if response_type=code is not included in the original parameters.

It also dies if grant_type=authorization_code is missing from the token request.

Finally, micropub.rocks token requests respond with JSON, not form-encoded data.

martymcguire commented 7 years ago

re: JSON support for auth, token responses, @aaronpk has stated that he would like to move the IndieAuth protocol to JSON responses:

https://chat.indieweb.org/dev/2017-03-10/1489123700975000

kylewm commented 7 years ago

Awesome, thanks so much!