You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot authorize Indiebookclub at my authorization endpoint because of this error:
The authorization server returned an invalid iss parameter (invalid_iss)
Here is what I did
I entered my me URL (https://giacomodebidda.com) in the Web Sign-In bar and got redirected to the consent screen on my authorization endpoint.
I clicked Approve the request and then I immediately got this error from Indiebookclub.
Additional details
I am still working on my authorization endpoint, so I am not sure whether the fault is mine or not, but I tested the same authorization workflow with Quill and another Micropub client that I am implementing, and it works.
As you can see, the authorization code issued at the beginning of the indiebookclub authorization workflow has "used": 0, so it was never used. On the other hand, the authorization did succeed with Quill, in fact the code has "used": 1.
The text was updated successfully, but these errors were encountered:
Thanks for reporting! Things look correct at a quick glance of your indieauth-metadata, though I'll take a closer look.
One thing I'm not sure about (but could just be a detail of your database records) the iss in those is https://micropub.fly.dev instead of the https://giacomodebidda.com/ that's in your metadata?
When your authorization endpoint redirects back to indiebookclub, is it including query parameter iss=https://giacomodebidda.com/ ?
I believe Quill still needs to be updated to use the indieauth-metadata endpoints and the issuer-verification that goes along with them (via the indieauth-client-php lib). I suspect that's why Quill is working for you.
Summary
I cannot authorize Indiebookclub at my authorization endpoint because of this error:
Here is what I did
I entered my
me
URL (https://giacomodebidda.com
) in the Web Sign-In bar and got redirected to the consent screen on my authorization endpoint.I clicked Approve the request and then I immediately got this error from Indiebookclub.
Additional details
I am still working on my authorization endpoint, so I am not sure whether the fault is mine or not, but I tested the same authorization workflow with Quill and another Micropub client that I am implementing, and it works.
In case it might be useful, the
iss
parameter my authorization endpoint is returning is a URL, as it is specified in the IndieAuth protocol.I am also storing the authorization codes in a Turso database. I can paste a couple of examples here, since these codes are long expired.
As you can see, the authorization code issued at the beginning of the indiebookclub authorization workflow has
"used": 0
, so it was never used. On the other hand, the authorization did succeed with Quill, in fact the code has"used": 1
.The text was updated successfully, but these errors were encountered: