Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot edit users when using REMOTE_USER and ALB with OIDC #755

Open
sam-dumont opened this issue Jan 25, 2024 · 1 comment
Open

Cannot edit users when using REMOTE_USER and ALB with OIDC #755

sam-dumont opened this issue Jan 25, 2024 · 1 comment
Labels
bug Reports of unexpected problems or errors

Comments

@sam-dumont
Copy link

I just installed baby buddy and the REMOTE_USER works fine with Auth0 + ALB OIDC but the user that is created is with the format "auth0|xxxx(24 chars)".

This works for login and logout but when I try to edit the user to grant extra permissions the validation is not happy because there's a '|' character in the username.

I could fix it by editing the db directly but it would be more convenient if it was possible from the UI

@cdubz
Copy link
Member

cdubz commented Jan 27, 2024

Huh yeah apparently the username can only have the special characters @.+-_. I'm not sure where this requirement comes from but we'd need to figure that out and understand if there are any security implications to supporting this. Happy to review PRs to address!

@cdubz cdubz added the bug Reports of unexpected problems or errors label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reports of unexpected problems or errors
Projects
None yet
Development

No branches or pull requests

2 participants