-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where does the ticket endpoint go looking for the token endpoint? #127
Comments
In my opinion, the proposal to add the issuer parameter, which would indicate the authorization server that was issuing the ticket and would therefore issue the token makes sense. However, if you are discovering the indieauth metadata endpoint from the issuer parameter...I just checked and my issuer URL does not have the header on it. Probably should, considering. I think it is better as a parameter than client_id and is consistent with the authorization_code flow we've put into IndieAuth. Are there any other steps in this flow we'd need to add though? |
I’ve implemented this: my I think I like this solution to the privacy concern. It also avoids the overhead of advertising endpoints on multiple resource URLs. So I lean towards requiring the (Originally published at: https://gregorlove.com/2023/11/ive-implemented-this/) |
Proposing this text.
|
Okay, taking one of @gRegorLove 's points into consideration.
|
So, mapping this out with the issuer parameter.
Does using issuer as a parameter and, in this scenario, using that to determine where the token endpoint is have any other implications? Security or otherwise? We've established the reason is that the resource advertising a metadata endpoint could indicate there is something there to access, which may not always be the case. If the question is why not just send the token endpoint URL to tell the ticket endpoint where to redeem, I think confirming the supported grant_type is a good step, which puts us back with needing the metadata endpoint. But, why not send that, rather than the issuer identifier? |
My first question is: when the RO sends a ticket, is Re: the question of sending the |
I'd prefer it required it myself |
Based on the suggestion of @jamietanna and concurrence from @gRegorLove, @jalcine, and myself have added this into the proposed extension. |
Currently the only thing it is sent that it can act on is the resource value. If that is also supposed to function as sort of a root URL of resources it gives access to, is it correct to assume the token endpoint can be discovered at that exact URL? (See first open Q.)
The text was updated successfully, but these errors were encountered: