Opened 10 days ago
Last modified 45 hours 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?
- Preferences -> OSM Server -> Authorize now (Fully automatic) (Use OAuth 2.0 is selected by default and cannot be changed)
- 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)
Change History (2)
by , 10 days ago
| Attachment: | Screenshot_2026-04-26_10-59-47.png added |
|---|
comment:1 by , 45 hours ago
I'd say it's not just Google, but any third party authentication login supplier. In my case it's Wikipedia, but you may try most of the icons at the bottom of the login page.
Anyway, I've spent most evening trying to access OSM with JOSM. It used to work, I haven't used ir recently and something may have changed with recent updates. I'm using Ubuntu 22.04 with the stable JOSM version from PPA.
1) Snap based browsers for Linux may have something to do with that "The BROWSE action is not supported on the current platform!" message that kuroshiokun reported. I moved to install native Google Chrome with their .deb package and I got rid of it. But I had no luck with Oauth2 setup.
2) In my case Wikipedia gets stuck with a "Redirecting to ..." message. Watching console text I see no message about any failed or not tries to connect to http://127.0.0.1:8111
3) I tried to follow manual procedure to get an OSM Oauth2 token with no luck.
dmartin@ebano:~$ LC_ALL=C.UTF-8 josm & [2] 25433 dmartin@ebano:~$ Using /usr/lib/jvm/java-25-openjdk-amd64/bin/java to execute josm. WARNING: package sun.security.action not in java.base 2026-05-04 00:47:15.617 INFO: Log level is at INFO (INFO, 800) 2026-05-04 00:47:20.802 INFO: Obtained 266 Tag2Link rules from resource://META-INF/resources/webjars/tag2link/2026.3.21/index.json 2026-05-04 00:47:23.388 INFO: Could not load tool definition splitway 2026-05-04 00:47:23.771 INFO: Changeset updater active (checks every 60 minutes if open changesets have been closed) 2026-05-04 00:47:29.977 INFO: GET https://api.openstreetmap.org/.well-known/oauth-authorization-server -> HTTP/1.1 200 (405 ms; 444 B) 2026-05-04 00:47:36.382 INFO: RemoteControl::Accepting remote connections on /127.0.0.1:8111 2026-05-04 00:47:36.383 INFO: RemoteControl::Accepting remote connections on /0:0:0:0:0:0:0:1:8111 2026-05-04 00:47:36.391 INFO: Opening URL: https://api.openstreetmap.org/oauth2/authorize?response_type=code&client_id=edPII614Lm0_0zEpc_QzEltA9BUll93-Y-ugRQUoHMI&redirect_uri=http://127.0.0.1:8111/oauth_authorization&scope=read_gpx%20write_gpx%20read_prefs%20write_prefs%20write_api%20write_notes&state=9820352b-9853-4da4-8154-e5bd59edea0c&code_challenge_method=S256&code_challenge=FvaA5wTA7rGqpBV-OdkvG52DXoL7DA3HJChRwUZGwaA [21726:21726:0504/004736.516055:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:53] Requested load of chrome://newtab/ for incorrect profile type. [21726:21726:0504/004941.115553:ERROR:ui/compositor/compositor_animation_observer.cc:65] CompositorAnimationObserver is active for too long (102.352s) location=Button@ui/views/controls/button/button.cc:669 [21726:21726:0504/004943.864605:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:53] Requested load of chrome://newtab/ for incorrect profile type. [21726:21726:0504/004945.227667:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:53] Requested load of chrome://newtab/ for incorrect profile type. 2026-05-04 00:57:28.959 INFO: RemoteControl::Server /127.0.0.1:8111 stopped. 2026-05-04 00:57:28.960 INFO: RemoteControl::Server /0:0:0:0:0:0:0:1:8111 stopped. 2026-05-04 00:57:28.961 INFO: RemoteControl::Accepting remote connections on /127.0.0.1:8111 2026-05-04 00:57:28.961 INFO: RemoteControl::Accepting remote connections on /0:0:0:0:0:0:0:1:8111 2026-05-04 00:57:28.962 INFO: Opening URL: https://api.openstreetmap.org/oauth2/authorize?response_type=code&client_id=edPII614Lm0_0zEpc_QzEltA9BUll93-Y-ugRQUoHMI&redirect_uri=http://127.0.0.1:8111/oauth_authorization&scope=read_gpx%20write_gpx%20read_prefs%20write_prefs%20write_api%20write_notes&state=92bbd39e-ee16-4c35-a235-5f3c8a619f05&code_challenge_method=S256&code_challenge=qLlNYXTWGAbgN-MgP0uNwQ2bwDZAfuKlceLoelDS4B0



screenshot of Google login error