[Bug] OIDC groupmapping for users with @ in the username
It seems as if usernames with an @ aka emails seem to not work with the group mapping. We have usernames that are equal to the mailaddresses and i created a group mapping, basically "SOMEGROUPOFUSERSAREADMINS" -> "SOMEGROUPOFUSERSAREADMINS", when i login my user is still in Viewers according to pegaprox, the Identity Broker inbetween very well knows that my user is in "SOMEGROUPOFUSERSAREADMINS".
When i set the user to the respective group manually, and relogin it is back to group "Viewer" only
(i am not sure if the @ really is a factor, but i checked the code and at some point you are cutting off the username at the @ )
Steps to Reproduce
Expected behavior
Environment
- PegaProx Version: 0.9.11
- Installation Method: docker clone + deploy.sh
- OS: Debian 13
- Browser: Firefox 151
- Behind Reverse Proxy? Yes, traefik
- UI? Corporate
Logs
sorry, none
Screenshots
Checklist
- [x] I have searched existing issues to make sure this is not a duplicate
- [x] I am using the latest version of PegaProx
👋 Thanks for reporting a bug!
Unfortunately, it looks like some required information is missing.
Please provide:
- [ ] Describe the bug
Why? We are volunteers maintaining PegaProx in our free time. Complete bug reports help us fix issues faster. 🐾
Closing for now — please reopen with the required details or open a new issue.
This is an automated message.
That took a while - too much work.
Anyways, if i login to pegaprox using an openid user with @ in the username, the user becomes a viewer even though there is a role mapping form an openid group to a pegaproxy group, if i configure the user to be in that group manually and i log out and back in, the user is back to the "Viewer" group.
I tested back and forth, no matter what i do, the user ends up in the viewer group after a new login
I am seeing the same behavior - should be opened as bug. Where are OIDC auth transactions logged?
groupmapping doesn't seem to work at all with oidc
that has been our experience as well - OIDC mappings are flakey at best
On Wed, Aug 12, 2026 at 3:17 PM wartoz @.***> wrote:
wartoz left a comment (PegaProx/project-pegaprox#486) https://github.com/PegaProx/project-pegaprox/issues/486#issuecomment-5271650018
groupmapping doesn't seem to work at all with oidc
— Reply to this email directly, view it on GitHub https://github.com/PegaProx/project-pegaprox/issues/486?email_source=notifications&email_token=ABB3RGL56HBSYJWEXHNMPYD5JS7DJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRXGE3DKMBQGE4KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5271650018, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABB3RGMY2HNEF2PZ35TBLBT5JS7DJAVCNFSNUABGKJSXA33TNF2G64TZHMYTCMZWGYYDSNRVGU5US43TOVSTWNBVGQ4TGMJXGIYTTILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/ABB3RGLA7HZAPMJC7YLXHXD5JS7DJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRXGE3DKMBQGE4KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/ABB3RGO7FSZGTSES5KTANC35JS7DJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRXGE3DKMBQGE4KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you commented.Message ID: @.***>
-- ~Emilio Del Plato
CONFIDENTIALITY NOTE The information transmitted, including attachments, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this document.
The username is now kept as is, but the user is always in "Viewer" it does not keep change roles and the groupmapping also does not work as stated above already