mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-29 17:38:02 -05:00
[GH-ISSUE #2969] Android on Pangolin client login completion through PocketID account ends on "failed to decode response - unexpected JSON" #11049
Reference in New Issue
Block a user
Originally created by @Cyber-Broccoli on GitHub (May 2, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2969
Describe the Bug
After downloading and installation Pangolin client app from Play store and add a private Pangolin instance, completing OIDC authorization in the browser, the app come back on "completing sign in" and failed with the following error "Pangolin client with pocketid returns "authenticatio failed : failed to decode response unexpected JSON (...)"
Tested on two different smartphones : a Samsung S10 and a Realme GT Master, and with 2 differents Pocket ID accounts.
When login with internal Pangolin user there is no issue.
When login with same PocketID users from a Windows computer with Pangolin client there is no issue.
Environment
To Reproduce
On Pangolin self hosted instance, add a new PocketID as IdP. Create a PocketID user in Pangolin.
On user smartphone, install Pangolin official app from Playstore. Open app, select "self hosted instance", when browser opens enter user Pocketid username or email, complete sign in on PocketID.
Then you'll be switched back to the app and need to approve device. Once done you will see "Completing sign in" and the error message "authenticatio failed : failed to decode response unexpected JSON (...)" will appear.
Expected Behavior
Completing sign in end on success and device is registered on Pangolin.