[openstreetmap/openstreetmap-website] Preserve `referer` during oauth JS confirmation (PR #6138)
Tom Hughes
notifications at github.com
Sat Jun 28 06:38:33 UTC 2025
tomhughes left a comment (openstreetmap/openstreetmap-website#6138)
Well it would probably help if you stopped thinking about is as an "OAuth POST" because it's not really anything to do with OAuth.
Once the OAuth client redirects the user to the authorize endpoint everything that happens until you get called back is just the normal site authentication flows until it reaches the authorize endpoint and can ask the user to authorize your application.
You also still haven't explained why your site appears to be doing the authorize flow via `fetch` in javascript which is really weird and which is breaking some browsers - if this had been easier for me to debug then I might have done more with it when you first reported it as it was I got stuck on the fact that it didn't actually work at all in my primary browser.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6138#issuecomment-3015025786
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6138/c3015025786 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250627/3a85a7c1/attachment.htm>
More information about the rails-dev
mailing list