barryf / micropublish

A Micropub client that you can use to create, update, delete and undelete content on your Micropub-enabled website.

Home Page:https://micropublish.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PKCE Validation Failure

dshanske opened this issue Β· comments

Tried your code with my WordPress endpoint and am getting a PKCE validation failure. I've had PKCE for a while and it does work with other PKCE clients.

@barryf is resolving this now! ea34630 should resolve it, just waiting for it to be deployed πŸ‘

Hey @dshanske! Thanks for testing. ea34630 has been deployed now. Would you mind trying again?

I'm still seeing 400s, just trying to step through manually to verify what's going wrong πŸ‘

Ah. I'll take a closer look.

There's a new release on a temporary staging URL with a fix that passes the example in the RFC.

If you've got time to check @jamietanna or @dshanske then would you mind trying: https://mpubl-br-master.herokuapp.com/

LGTM! I've authenticated successfully πŸ™Œ

Awesome! Thanks @jamietanna πŸ˜„

I had found an implementation in Ruby that I now realise didn't work and copied it over. Lesson learned!

As well as the IndieAuth changes I've also added support for properties via q=config which I think your server supports. Does it work for your config?

Closing this issue following successful authorisations using three separate servers.