wordpress-indieauth icon indicating copy to clipboard operation
wordpress-indieauth copied to clipboard

Unable to Login via IndieAuth - PKCE Issue?

Open dshanske opened this issue 2 years ago • 3 comments

https://lostfocus.de/2023/12/31/231932/#IndieAuth

@lostfocus Can you elaborate?

dshanske avatar Dec 31 '23 19:12 dshanske

I'm getting {"error":"invalid_grant","error_description":"Failed PKCE Validation"} with an HTTP 400. It's probably something weird happening when creating the code challenge on the non-WP-side. I'm not sure yet, though, I just got back home today.

lostfocus avatar Jan 01 '24 18:01 lostfocus

@lostfocus I recently fixed a bug that if you were using PKCE, it wasn't properly passing the PKCE parameters for validation, so it was treating it like no PKCE. Could be it never really worked.

dshanske avatar Jan 01 '24 18:01 dshanske

Yes, it's 99% likely a client issue and not one of this plugin.

lostfocus avatar Jan 01 '24 19:01 lostfocus