pocket-id: πŸ› Bug Report: Custom Claims on User Groups (and Users)

Reproduction steps

  • Add 1-n custom claims to a user group --> works as expected

  • Add 1-n custom claims to another user group --> not possible, β€œkey” field is greyed out, left clicking the field shortly shows some values as suggestion (the ones entered in the first group)

  • I also tried using the API to change an existing / create a new organization with the same results

Expected behavior

Ability to add custom claims to multiple groups and users

Actual Behavior

On a fresh installation it is only possible to enter custom claims to one user or user group.

Image Image

Version and Environment

Docker compose (v1 and also next version) with Pangolin as reverse proxy.

Log Output

Nothing special in the logs, I think:

pocket-id-1  | [GIN] 2025/07/03 - 22:10:48 | 200 |     4.38208ms |  46.223.209.202 | GET      "/api/users?sort[column]=firstName&sort[direction]=asc"
pocket-id-1  | [GIN] 2025/07/03 - 22:10:48 | 200 |    2.792691ms |  46.223.209.202 | GET      "/api/signup-tokens?sort[column]=createdAt&sort[direction]=desc"
pocket-id-1  | [GIN] 2025/07/03 - 22:10:48 | 200 |    2.065398ms |  46.223.209.202 | GET      "/api/webauthn/credentials"
pocket-id-1  | [GIN] 2025/07/03 - 22:10:48 | 200 |    2.541127ms |  46.223.209.202 | GET      "/api/users/me"
pocket-id-1  | [GIN] 2025/07/03 - 22:10:49 | 200 |    4.154396ms |  46.223.209.202 | GET      "/api/user-groups?sort[column]=friendlyName&sort[direction]=asc"
pocket-id-1  | [GIN] 2025/07/03 - 22:10:52 | 200 |    3.034295ms |  46.223.209.202 | GET      "/api/user-groups/cc4a2a4c-bdb9-4265-ab6c-a0ce1f4c5e93"
pocket-id-1  | [GIN] 2025/07/03 - 22:10:52 | 200 |    3.074696ms |  46.223.209.202 | GET      "/api/users?sort[column]=firstName&sort[direction]=asc"
pocket-id-1  | [GIN] 2025/07/03 - 22:10:52 | 200 |    2.353043ms |  46.223.209.202 | GET      "/api/custom-claims/suggestions"
pocket-id-1  | [GIN] 2025/07/03 - 22:11:41 | 200 |    2.217761ms |  46.223.209.202 | GET      "/api/custom-claims/suggestions"
pocket-id-1  | [GIN] 2025/07/03 - 22:12:27 | 200 |    6.448518ms |  46.223.209.202 | GET      "/api/user-groups?sort[column]=friendlyName&sort[direction]=asc"
pocket-id-1  | [GIN] 2025/07/03 - 22:12:27 | 200 |    2.163559ms |  46.223.209.202 | GET      "/api/users/me"
pocket-id-1  | [GIN] 2025/07/03 - 22:12:27 | 200 |    3.436463ms |  46.223.209.202 | GET      "/api/webauthn/credentials"
pocket-id-1  | [GIN] 2025/07/03 - 22:12:32 | 200 |    3.417742ms |  46.223.209.202 | GET      "/api/user-groups/99b2b79d-d91b-42e4-9fe4-7e0e357c148a"
pocket-id-1  | [GIN] 2025/07/03 - 22:12:32 | 200 |    2.629408ms |  46.223.209.202 | GET      "/api/users?sort[column]=firstName&sort[direction]=asc"
pocket-id-1  | [GIN] 2025/07/03 - 22:12:32 | 200 |    1.714231ms |  46.223.209.202 | GET      "/api/custom-claims/suggestions"

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 3
  • Comments: 17 (8 by maintainers)

Most upvoted comments

ill try to look into this while elias is away, ill let you know when i have something for testing

Still on Safari and Brave. The only difference I could spot is, that clicking the custom claim show/hide chevron (second video) no longer works around the issue. Enjoy your holiday πŸ˜ƒ

Thanks a lot for the quick bugfix and also for the effort you put into this project. 😊

This should be fixed in 49f1ab2f75df97d551fff5acbadcd55df74af617 and will be available in the next release.

Hi guys,

I was about to open an issue for this as well but I found yours. I have the exact same issue using Brave and Safari. One thing to add from my side is that this also happens with the custom claims in the user settings.

Cheers

Thank you for your detailed report. I was able to reproduce it in Safari, but strangely not in Brave which is also Chromium based.

I’ll look into it and let you know when it’s fixed πŸ˜ƒ