#dev 2026-11-27
2026-11-27 UTC
girlonthemoon, redshuffle, troojg, daemonspudguy, grufwub, [Al_Abut], JadedBlueEyes15, [aciccarello], JoshuaMorris, [capjamesg] and [jeremycherfas] joined the channel
#
vikanezrimaya Re: https://indieweb.org/migration#IndieAuth — what if IndieAuth could recognize redirects in the `me` URL?… Just not sure at which step to make sure it's robust and secure.
#
vikanezrimaya In any case, we already assume that whoever controls the website controls the identity. What if 301 means a website is moving, and the identity is moving with it?
#
vikanezrimaya Problem with this: most *current* implementations will silently handle a redirect at discovery time and will not assume the new identity has any relation to the old domain entered.
#
vikanezrimaya Changing the `me` URL only in the final stage will break multi-user setups. No, this has to happen at discovery, right?…
#
vikanezrimaya If I enter `fireburn.ru` into an IndieAuth box, then it redirects to, say, `vikanezrimaya.xyz` right off the bat, the intent should be obvious — unless I am, of course, missing something…
mossymaker joined the channel
#
vikanezrimaya Do we carry the initial `me` hint, normalized to a domain, in the IndieAuth state? Do we also save any redirects that happened as part of discovery?… and if the initially-entered `me` URL, normalized per §3.4, is equal to an existing user, while a redirect occurred, the new `me` value should be considered authoritative? But then I don't know if many websites could cope with that. `UPDATE users WHERE url = ? SET url = ?` sounds trivial
#
vikanezrimaya on paper but website owners may complain because their schema isn't designed for that. I'm guilty of this myself most likely!
#
vikanezrimaya am I making something working or making something stupid?
barnaby, petermolnar, donquixote42[d], JoshuaMorris, ax562 and lavandula joined the channel
barnaby, [social] and lanodan joined the channel
lanodan, DenMcH and troojg joined the channel
#
[Al_Abut] I remember there's strong opinions on here on whether to use 301 or 302 but that's all I remember whenever it comes to actually picking one for my projects…?
DenMcH joined the channel
#
Loqi 301 (301 Moved Permanently) is an HTTP status code returned from a web server to indicate the URL is permanently redirected to another URL https://indieweb.org/301
#
Loqi 302 (302 Found) is an HTTP status code returned from a web server to indicate the URL is temporarily redirected to another URL https://indieweb.org/302
#
[Al_Abut] Thanks [artlung]. I know the basics, it was easy enough to google up. I meant the social cues of why everyone seemed to pick one over the other, which I can't remember for the life of me.
[tw2113] joined the channel
#
offeringofpie what is 418?
#
Loqi 🫖 418 is a little teapot, short and stout https://indieweb.org/418
#
offeringofpie Yay! my favourite. My version of "sir, this is a Wendy's"
#
vikanezrimaya aaronpk: oh so I *am* thinking of something working! :3 well, the Basic Redirect in §5.4 sounds like almost it, except the migration path shall be defined as follows: If the server has a pre-existing relationship with the URL entered as the `me` value (or any redirects at its path), and discovers a new redirect, after the ceremony, it MUST update any references to the old URL to use the canonical Profile URL returned in the current cer
#
vikanezrimaya emony. How's that sound? Strict enough for a spec, no pitfalls?…
#
vikanezrimaya offeringofpie: i think my website has an endpoint that returns 418 just for the whimsy
#
Loqi It looks like we don't have a page for "303" yet. Would you like to create it? (Or just say "303 is ____", a sentence describing the term)
#
Loqi It looks like we don't have a page for "307" yet. Would you like to create it? (Or just say "307 is ____", a sentence describing the term)
#
[Al_Abut] 307! Now I've got another one to look up…
#
offeringofpie 452 became prominent in Europe when visiting american newsletter sites, as a few just don't want to comply with GDPR
#
offeringofpie 451... I had one job 😅
mahboubine joined the channel
#
mahboubine hi
#
[capjamesg] Hello!
#
mahboubine Hey aaronpk quick question: in oauth 2.0, if a client hits /authorize while already authorized but the new request has LESS scopes than what's currently granted, should I replace the existing scopes or just update them with any additional ones?
#
mahboubine Basically should authorizing work like a PUT request or a PATCH request
#
mahboubine I hope this is allowed, I know this question is not 100% relevant to the indieweb, but I've been using aaron's videos on oauth to learn about it and thought why not ask
#
mahboubine I looked up the oauth 2.0 and 2.1 RFCs and couldn't find any specific guidelines on what to do in this situation
#
aaronpk it's basically choose your own adventure as far as the specs are concerned: https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1#section-1.4.1
#
mahboubine What I meant is: current grant has ["calls:read", "calls:write"] and the new authorization has ["users:delete"], if we use 'replace' the grant will be updated to only be ['users:delete']
#
mahboubine whereas with an update it would be ['calls:read', 'calls:write', 'users:delete']
#
aaronpk yeah, your call. depends on how you want the clients to behave. you can make arguments for doing it both ways. in an ecosystem deployment like indieauth we might make certain assumptions about indieauth clients and expected user behavior and make a particular recommendation or requirement.
#
aaronpk as far as the spec is concerned, if the client asks for only `users:delete` in that request, but the AS adds that and grants a token with scopes that were previously issued, then the AS MUST return all the granted scopes in the token response https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1#section-3.2.3
#
mahboubine Thanks, both rfc sections have very useful info that I hadn't thought about
#
mahboubine I assumed scopes are attributes of the grant as a whole, but it seems they can be different on the token level as well, I will research this further
#
mahboubine Thanks for your time once again.
#
[Al_Abut] TIL that CSS solved one of my gripes with roundrects in the last year or so with the new `corner-shape: squircle`
#
[Al_Abut] Rounded corners in CSS were always a lesser of two evils for me - they're annoying because they get so jaggy near the flat edges, especially the less rounded it is, but better than completely sharp edges in a lot of design styles.
#
[tantek] interesting, the section on sending does not say what to do in case of 307 from the endpoint: https://webmention.net/draft/#sender-notifies-receiver
#
[tantek] hah already posted (so to speak) my opinion on this in https://github.com/w3c/webmention/issues/89#issuecomment-312692517
#
Loqi Own your links is the concept of creating links on your own website that redirect to other properties you own, for instance social media accounts or content you have created on other websites https://indieweb.org/own_your_links
[tantek]1 joined the channel
#
[tantek]1 so to the outside world (view sourcerers, search engines?), it looks like you’re handling your webmentions yourselves, and they cache the endpoint with your domain instead of the endpoint with wmio
#
[tantek]2 that’s the “why” for doing it this way
bterry, rMdes-bnc1 and marc_in_- joined the channel
