-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Azure OIDC is broken since Harbor 2.7 if your username has special characters #19356
Labels
Comments
3 tasks
How the OIDC username contain the comma character? harbor/src/core/controllers/oidc.go Lines 250 to 253 in ebac530
What's your Harbor version? |
Maybe this is related: https://lists.cncf.io/g/harbor-users/message/345 |
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 30, 2023
fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 30, 2023
fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 30, 2023
fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 31, 2023
Check username when create user by API Replace comma with underscore when CreateUser Fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 31, 2023
Check username when creating user by API Replace comma with underscore in username for OnboardUser Fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 31, 2023
Check username when creating user by API Replace comma with underscore in username for OnboardUser Fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
5 tasks
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 31, 2023
Check username when creating user by API Replace comma with underscore in username for OnboardUser Fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Oct 31, 2023
Check username when creating user by API Replace comma with underscore in username for OnboardUser Fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
pushed a commit
to stonezdj/harbor
that referenced
this issue
Nov 2, 2023
Check username when creating user by API Replace comma with underscore in username for OnboardUser Fixes goharbor#19356 Signed-off-by: stonezdj <daojunz@vmware.com>
stonezdj
added a commit
that referenced
this issue
Nov 2, 2023
Check username when creating user by API Replace comma with underscore in username for OnboardUser Fixes #19356 Signed-off-by: stonezdj <daojunz@vmware.com>
But this only resolves the problem for new users and not for existing, am i right? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
OIDC users with special characters should be able to access repositories after 2.7 (or later) upgrade.
e.g. username:
Werner,M.,SNL_IT_P&P,_4610,DD
Steps to reproduce the problem:
It is possible to recreated this issue with a db_auth.
Werner,M.,SNL_IT_P&P,_4610,DD
Versions:
Please specify the versions of following systems.
Additional context:
/var/log/harbor/
.harbor core log:
The text was updated successfully, but these errors were encountered: