indieweb / wordpress-indieauth

IndieAuth for WordPress
https://wordpress.org/plugins/indieauth/
MIT License
31 stars 11 forks source link

Update Discovery with Support for New Proposed Discovery Method #267

Closed dshanske closed 4 months ago

dshanske commented 5 months ago

https://github.com/indieweb/indieauth/issues/133

https://drafts.aaronpk.com/draft-parecki-oauth-client-id-metadata-document/draft-parecki-oauth-client-id-metadata-document.html

janboddez commented 5 months ago

Ha, this must be why I can't log in to the IndieWeb wiki. Right?

Looks like Indielogin.com has already switched to JSON client metadata, and the plugin isn't yet compatible. https://github.com/aaronpk/indielogin.com/blob/35c8aa0ae627517d9c9a9578b901740736ded428/app/Controller.php#L18

Edit: just seeing the PR now. I'll try it when I can. Aaron's also right, the error handling can be improved. E.g., there seem to be some checks in the code (if ( ! $input ) ... and the like), but they may be ineffective. Might be able to help out there, I'll see what I can do.

dshanske commented 4 months ago

Merged via #268