Skip to content

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

@Cyber-Broccoli

Description

@Cyber-Broccoli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions