mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 14:30:51 -05:00
[GH-ISSUE #3238] Android client: "failed to decode response - unexpected JSON" when using OIDC authentication #39135
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jcrawfordor on GitHub (Jun 10, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3238
Describe the Bug
I have been using Pangolin for over a year now without trouble, but recently tried setting up the Android client for the first time. When I go through the login flow using my OIDC IdP, the Android app shows a toast "failed to decode response - unexpected JSON token" (there might be more but it's cut off) and makes it no further. It sticks at the login screen with a spinner until you force quit and restart, at which point you will be prompted for login and run into the exact same problem.
As far as I can tell this problem is unique to the Android client - both web interface and Linux and MacOS clients work fine. I don't have an iOS device to test the iOS client.
Environment
To Reproduce
Expected Behavior
I would expect logging in to work, of course---it seems like it's very close, especially since other pangolin clients are working. Unfortunately I am not sure how to get any additional debugging out of the Android app.
@jcrawfordor commented on GitHub (Jun 10, 2026):
Setting the server to debug logging and trying again didn't reveal anything interesting. The most relevant section would seem to be this:
@Vyerni commented on GitHub (Jun 11, 2026):
I just retested my android client against my OIDC provider.
Logged out, and did a full clean reauthenticatuon again and worked fine.
Strange