[openstreetmap/openstreetmap-website] JOSM can't use OAuth2 to connect to my local osm-website (Issue #6073)
Mahmoud Hanafy
notifications at github.com
Sun Jun 1 16:38:15 UTC 2025
mahmoudhanafy left a comment (openstreetmap/openstreetmap-website#6073)
Hi Tom, Thanks for your response.
The problem I currently have is that the authorisation button is disabled. and I see the following message in JOSM logs
```
2025-06-01 14:37:05.429 INFO: GET https://osm.test/.well-known/oauth-authorization-server -> HTTP/1.1 404 (464 ms; 4.86 kB)
```
and I see these message on osm-website logs:
```
[09203e1b354075ed30b649b51ae6100a] ActionController::RoutingError (No route matches [GET] "/.well-known/oauth-authorization-server"):
[09203e1b354075ed30b649b51ae6100a]
[09203e1b354075ed30b649b51ae6100a] Processing by ErrorsController#not_found as */*
[09203e1b354075ed30b649b51ae6100a] Rendering layout layouts/error.html.erb
[09203e1b354075ed30b649b51ae6100a] Rendering errors/not_found.html.erb within layouts/error
[09203e1b354075ed30b649b51ae6100a] Rendered errors/_contact.html.erb (Duration: 0.2ms | GC: 0.0ms)
[09203e1b354075ed30b649b51ae6100a] Rendered errors/not_found.html.erb within layouts/error (Duration: 0.5ms | GC: 0.0ms)
[09203e1b354075ed30b649b51ae6100a] Rendered layouts/_meta.html.erb (Duration: 1.2ms | GC: 0.0ms)
[09203e1b354075ed30b649b51ae6100a] Rendered layout layouts/error.html.erb (Duration: 2.2ms | GC: 0.0ms)
[09203e1b354075ed30b649b51ae6100a] Completed 404 Not Found in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
```
I think something is misconfigured at the website, not sure exactly.
<img width="589" alt="Image" src="https://github.com/user-attachments/assets/3d3bb217-da2b-4cc5-b451-b2f0f55904bb" />
<img width="684" alt="Image" src="https://github.com/user-attachments/assets/f2f5fd17-5adf-40ad-ba01-c300ad741517" />
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6073#issuecomment-2927505357
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6073/2927505357 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250601/8fe688c5/attachment.htm>
More information about the rails-dev
mailing list