Jump to content

Forum:Announcements/OAuth2 experiment

From OpenGeofiction
Forums → Official announcements → Announcements/OAuth2 experiment


Hi, it would be good if users who are sufficiently technically skilled, that they know how to run a Java jar file, could try out josm-19621svn-ogf-oauth2.jar. It adds support for OpenGeofiction to the OAuth "Authorize now (Fully automatic)" workflow in the JOSM connection settings. There's a ticket open to get this incorporated into JOSM by default: #24889. Thanks/wangi (talk) 10:54, 10 September 2026 (UTC)

After hitting authorize button, it returns as: HTTP Error 500: Internal Server Error | java.net.SocketTimeoutException: Connect timed out. —Senja (talk) 05:00, 14 September 2026 (UTC)

I'm not going to be able to diagnose this one-on-one - I know the code works, so made it available for those "sufficiently technically skilled" so they could also make use of it. Your error is likely a transient failure due to heave load the server has been subject to, or due to the wrong API address being used (it must be https://opengeofiction.net/api). However the logs / exception output by JOSM should allow you to narrow this down. Thanks/wangi (talk) 10:15, 14 September 2026 (UTC)

The OAuth2 for OGF worked —Senja (talk) 12:56, 14 September 2026 (UTC)