mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 12:55:03 -05:00
[GH-ISSUE #1851] Docs: Pangolin/Zitadel integration claims setup missing step #6822
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 @baughmann on GitHub (Nov 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1851
Describe the Bug
I've followed the relatively straight-forward docs for integrating Pangolin with Zitadel.
However, when trying to access a resource with a user provisioned for the Zitadel IdP, I get:
I was unable to find the token in Chrome devtools otherwise I'd have looked at it in jwt.io and tried to see what I could find.
I was able to work around this by checking the "Include user's roles in the ID Token" in Zitadel -> Project -> Pangolin (App name) -> Token Settings.
Not sure if this is a bug on the Zitadel or the Pangolin side, but it seems a bit to have this field titled "roles" and then have a description of "Enables clients to retrieve profile, email, phone and address claims from ID token." Please investigate and let me know if you want me to open this bug over there.
Screenshot of the location of this checkbox in Zitadel:
Environment
For the OAuth app in Zitadel, I have the method set to Code with Basic/Authorization Code as the Auth Method/Grant Types
To Reproduce
Follow docs exactly: https://docs.pangolin.net/manage/identity-providers/zitadel
Just don't use the Zitadel that gets deployed with Pangolin in the quickstart.
Expected Behavior
I expect one of the following:
preferred_username, OR