CrowderSoup, [tw2113_Slack_], [tantek], jacky, [snarfed], [jeremycherfas], [pfefferle], geoffo, [chrisaldrich] and schmudde joined the channel
#ZegnatAh, I see some more discussion about the redirect handling, [Simon_Willison], sknebel. I did also think we had cleared that up in IndieAuth.
#ZegnatBut I think almost all of that could be removed with my pending PR, because at that point there is no need to remember a "canonical Profile URL", so we also do not need to establish one during discovery. That is the extra change I would like to roll into my PR to make the whole thing a lot simpler again.
#ZegnatThe intent, if not clear, is that for discovery you resolve all 3xx redirects and then check the final resource for any authorisation endpoints. But for establishing the URL the user wanted to you, you only follow 301 and 308 (e.g. "permanent" ones). This allows me to have a temporary hosting while continueing to identify with my permanent domain.
#ZegnatSadly I am currently busy reviewing a day-job-internal tech spec, rather than tinkering IndieAuth spec. Later today though ...
#ZegnatWe should have probably tried to get rid of all that redirecting logic earlier, instead of adding a bunch of different 3xx codes to it, when we noticed it growing this complicated...
#sknebeltradeoff... i.e. it saved us having to do another fetch + HTML parse at the end. at least that was the objection to earlier attempts of mine to push for getting the endpoint a second time
#ZegnatYes, I am usually all for minimising external requests. But I feel like we are making the rest of the flow harder for ourselves that I am not sure it is actually worth the savings.
#ZegnatOutside some very narrow use-cases, I think HTTP requests are cheap. OAuth is a flow over HTTP anyway
#sknebelsure, fully for the change, just part of the answer to why we didn't get there earlier
schmudde, gxt, djmoch, jeremych_, [Aaron_Klemm], CrowderSoup, geoffo, acrowder, jeremyc__, [chrisaldrich], [schmarty], reed, nickodd, [KevinMarks], [Raphael_Luckom], [cleverdevil], KartikPrabhu, [tantek], [jeremycherfas] and TheRealCrowderSo joined the channel; nickodd left the channel