mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
🐛 Bug Report: Custom Claims on User Groups (and Users) #141
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 @elcajon on GitHub.
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.
Version and Environment
Docker compose (v1 and also next version) with Pangolin as reverse proxy.
Log Output
Nothing special in the logs, I think:
@elcajon commented on GitHub:
FYI, I have just performed another test using a new Pocket ID installation (Docker Compose on clean Debian 12 Proxmox VM) and Tailscale serve as (VPN) proxy. Connecting via Ubuntu Desktop with Firefox browser yields the same results as previously reported.
Can you really not reproduce the error? If it helps, I could provide you access to my instance and infrastructure.
@elcajon commented on GitHub:
Exactly, the suggestions appear briefly when you left-click in the key field but then disappear again.
https://github.com/user-attachments/assets/b02a7a2b-f036-468b-a419-612fe441eccd
@elcajon commented on GitHub:
I tested using Safari (which I used for the screen recording) and Google Chrome on macOS (Tahoe dev beta and stable Sequoia).
There are no errors visible in either Chrome or Safari's console.
However, when I tested again, I noticed something else:
https://github.com/user-attachments/assets/bdbd4053-43a1-47e4-93d5-5b21049839c5
@stonith404 commented on GitHub:
Thanks for sharing the screen recording, this is really strange. Which browser are you using and are there any errors in the browser console?
@stonith404 commented on GitHub:
I can't reproduce this. Could you share a screen recording?
Do I understand correctly that in the second group you created, you can't enter anything into the "Key" input field, and the suggestions only appear for a short time before disappearing?
@txwgnd commented on GitHub:
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
@elcajon commented on GitHub:
Thanks a lot for the quick bugfix and also for the effort you put into this project. 😊
@elcajon commented on GitHub:
Unfortunately, I have to come back to this. The latest changes have not fixed the error for me. Anything I can do to debug this further?
@stonith404 commented on GitHub:
This should be fixed in
49f1ab2f75and will be available in the next release.@stonith404 commented on GitHub:
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 :)
@elcajon commented on GitHub:
Hey @kmendell , I just pulled the image. Unfortunately, it's still not working.
If it helps, I can provide access to my installation.
@kmendell commented on GitHub:
@elcajon Can you try this image
ghcr.io/pocket-id/pocket-id:custom-claim-focusand let me know if its fixed?@elcajon commented on GitHub:
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 :)
@stonith404 commented on GitHub:
That's strange, still on both browsers you have mentioned?
I'm on vacation so I can't look into it right now but I reopen it.
@kmendell commented on GitHub:
ill try to look into this while elias is away, ill let you know when i have something for testing
@elcajon commented on GitHub:
I have recorded another short video. In general, adding tags now works. However, I have to add all the existing tags in order to create a new custom tag for the group:
https://github.com/user-attachments/assets/b764d0f7-f757-464e-b9ae-08244dff0b77
@ElioDiNino commented on GitHub:
Also having this issue. I am using Chrome 138 on macOS.
@shelldandy commented on GitHub:
I have this issue too although im running the
app-dashimage@kmendell commented on GitHub:
What happens now when you try to add more than one? I was not able to reproduce it with this new logic, it let me add 3 different ones.
@deancommasteven commented on GitHub:
I was able to brute force adding a new claim after encountering this issue by quickly repeatedly clicking in the field and pasting. Eventually it overcomes whatever is going on. As soon as I delete one more character than is in the original claim key, the issue reappears. I can then overcome it again.
For me, the issue continues even after I've deleted the original claim key from any other location in Pocket ID.
v1.6.4
https://github.com/user-attachments/assets/9a437d33-6652-4cf5-b2d4-77e175e4982a
@cyndane31 commented on GitHub:
Encountered the same issue today on my laptop (Brave) and phone (Android Chrome).
Bypassed with right-click->Force Paste in Brave.
@pasarenicu commented on GitHub:
Same here on. Pocket ID (1.6.4)
@stonith404 commented on GitHub:
Thanks for all the comments, this really helps to debug issues.
This should be fixed in
4d59e72866and will be available in the next release.@elcajon commented on GitHub:
Quick feedback on the issue. The update to v1.7.0 has fixed the problem. Thank you very much!