News for hackers. Stuff that matters.
Re:OAuth from First Principles by xyzzy123 on Thursday September 05, 2024 @11:10PM (#41462551)
That's neat.

Tho if you do this then clients need a distinct client id per redirect uri domain, mostly this is non consequential and a good thing but I think it has some ux implications like seeing multiple consent screens vs just 1 if you had multiple redirect uris registered against a single client id.

Re:OAuth from First Principles by apitman on Friday September 06, 2024 @01:00AM (#41463028)
What's a situation where you would need multiple redirect domains? I generally work with small scale stuff.
Re:OAuth from First Principles by xyzzy123 on Sunday September 15, 2024 @02:06PM (#41549166)
Just web complexity really, there are lots of reasons you might have multiple domains as a business.

Language-specific domains, preview domains, multiple properties (often not fully integrated) etc.

You can always paper over things with more redirects / params (so a landing that bounces on) or multiple clients but supporting multiple redirects can save the customer work in some scenarios.