[openstreetmap/openstreetmap-website] OAuth token CORS error (#2572)

MRVDH notifications at github.com
Sat Mar 28 14:33:25 UTC 2020


When I redirect the user to the login URL I get the following CORS error.
![image](https://user-images.githubusercontent.com/6686385/77825320-bf37be80-7108-11ea-9b45-bcfca25680ef.png)

However, if I look at the openstreetmap-website ruby source code it looks like it should accept the request.
https://github.com/openstreetmap/openstreetmap-website/blob/c672a73de3f376d0981c5bec9cdc3e97d5d0f9b7/config/initializers/cors.rb
![image](https://user-images.githubusercontent.com/6686385/77825340-e42c3180-7108-11ea-8038-1c4e84e4aec0.png)

Am I doing something wrong or is it something with redirects that the openstreetmap-website server can't handle?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2572
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200328/9bd9df6c/attachment.htm>


More information about the rails-dev mailing list