Modify

Opened 4 days ago

#24716 new defect

Sign in with Google error - Access blocked: This app’s request is invalid

Reported by: kuroshiokun Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc: cookrobotics705@…

Description

What steps will reproduce the problem?

  1. Preferences -> OSM Server -> Authorize now (Fully automatic) (Use OAuth 2.0 is selected by default and cannot be changed)
  2. After OpenStreetMap login page opens in browser, click Google icon to log in using Google account

What is the expected result?

Successful authentication to OSM server using Google account

What happens instead?

Google login page in browser displays error with the following text:

Access blocked: This app’s request is invalid
You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of this app, see error details.
Error 400: redirect_uri_mismatch

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2026-03-28 20:28:41 +0100 (Sat, 28 Mar 2026)
Revision:19555
Build-Date:2026-03-29 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19555 en) Linux Freedesktop SDK 25.08 (Flatpak runtime)
Memory Usage: 560 MB / 11760 MB (139 MB allocated, but free)
Java version: 21.0.10, Flathub, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: Budgie
VM arguments: [--module-path=/app/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Last errors/warnings:
- 00099.787 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm>
- 00099.803 E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.<br><br>Downloading a smaller area is <em>recommended</em>!<br><br>Advanced users can use one of the following options:<br><ul><li><a href="https://josm.openstreetmap.de/wiki/Help/Action/Download#DownloadfromOverpassAPI">Overpass</a></li><li><a href="https://www.geofabrik.de/data/download.html">Geofabrik</a></li><li><a href="https://planet.openstreetmap.org/">OSM Planet File</a></li></ul></html>
- 00139.404 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm>
- 00139.410 E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.<br><br>Downloading a smaller area is <em>recommended</em>!<br><br>Advanced users can use one of the following options:<br><ul><li><a href="https://josm.openstreetmap.de/wiki/Help/Action/Download#DownloadfromOverpassAPI">Overpass</a></li><li><a href="https://www.geofabrik.de/data/download.html">Geofabrik</a></li><li><a href="https://planet.openstreetmap.org/">OSM Planet File</a></li></ul></html>
- 00605.032 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 00670.943 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 00685.826 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 00700.024 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!

Attachments (1)

Screenshot_2026-04-26_10-59-47.png (59.7 KB ) - added by Sam Cook <cookrobotics705@…> 4 days ago.
screenshot of Google login error

Download all attachments as: .zip

Change History (1)

by Sam Cook <cookrobotics705@…>, 4 days ago

screenshot of Google login error

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to kuroshiokun.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.