[GH-ISSUE #2969] Android on Pangolin client login completion through PocketID account ends on "failed to decode response - unexpected JSON" #32351

Closed
opened 2026-06-15 09:47:33 -05:00 by GiteaMirror · 5 comments
Owner

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

  • OS Type & Version: Android 12 and Android 13
  • Android Pangolin App : latest from Playstore
  • Pangolin Version: issue on 1.17, 1.18.0, 1.18.1
  • Gerbil Version: 1.3.1
  • Traefik Version: issue persist on 3.6.0 and 3.7.0-rc2 and rc-3
  • Newt Version: issue persist on 1.12.1, 1.12.2 and 1.12.3

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.

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 - OS Type & Version: Android 12 and Android 13 - Android Pangolin App : latest from Playstore - Pangolin Version: issue on 1.17, 1.18.0, 1.18.1 - Gerbil Version: 1.3.1 - Traefik Version: issue persist on 3.6.0 and 3.7.0-rc2 and rc-3 - Newt Version: issue persist on 1.12.1, 1.12.2 and 1.12.3 ### 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.
GiteaMirror added the stale label 2026-06-15 09:47:33 -05:00
Author
Owner

@Vyerni commented on GitHub (May 8, 2026):

Want to post some config?

I have Pocket-ID working

<!-- gh-comment-id:4404271641 --> @Vyerni commented on GitHub (May 8, 2026): Want to post some config? I have Pocket-ID working
Author
Owner

@AstralDestiny commented on GitHub (May 8, 2026):

Yeah just sounds like misconfigured pocketid

<!-- gh-comment-id:4404397909 --> @AstralDestiny commented on GitHub (May 8, 2026): Yeah just sounds like misconfigured pocketid
Author
Owner

@oschwartz10612 commented on GitHub (May 11, 2026):

Does this also occur on the browser when logging in? If so I agree its a pocketid config issue.

<!-- gh-comment-id:4423002774 --> @oschwartz10612 commented on GitHub (May 11, 2026): Does this also occur on the browser when logging in? If so I agree its a pocketid config issue.
Author
Owner

@github-actions[bot] commented on GitHub (May 26, 2026):

This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.

<!-- gh-comment-id:4538620680 --> @github-actions[bot] commented on GitHub (May 26, 2026): This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 9, 2026):

This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.

<!-- gh-comment-id:4654970231 --> @github-actions[bot] commented on GitHub (Jun 9, 2026): This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#32351