[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 14:00:54 UTC 2025


mahmoudhanafy created an issue (openstreetmap/openstreetmap-website#6073)

Hi Team, 

I'm trying to connect from JOSM to osm using OAuth2 but I see this the following in the logs:
```
2025-06-01 14:35:14.134 SEVERE: Authentication failed - <html>Authentication at the OSM server with the username 'my_user' failed.<br>Please check the username and the password in the JOSM preferences.</html>
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)
2025-06-01 14:37:05.735 INFO: GET https://osm.test/.well-known/oauth-authorization-server -> HTTP/1.1 404 (148 ms; 4.86 kB)
2025-06-01 14:37:06.027 INFO: GET https://osm.test/.well-known/oauth-authorization-server -> HTTP/1.1 404 (149 ms; 4.86 kB)
```

I'm pretty sure the username and password I'm using are correct (I use them to login on the website0. I was first using older version of the code and it was working fine with basic authentication.

but after upgrading to the latest version of the code I got the following errors, and I can't authenticate with basic authentication or OAuth2


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6073
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6073 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250601/c2e8ccae/attachment.htm>


More information about the rails-dev mailing list