-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Admin, error: failed to get oidc user info, error: <QuerySeter> no row found #21041
Comments
@Vad1mo Please let me know is this a know bug. |
@kssanthoshselvaraj04 Did you notice any unexpected behavior on your end? The error message indicates that the admin user is not registered on the OIDC server, but Harbor will continue to authenticate the admin through database authenticator. This message is somewhat misleading as it pertains specifically to the admin login. I agree that the messaging should be improved to enhance clarity for users. Additionally, we might need to consider bypassing the admin user for all non-database authentication methods. |
fixes goharbor#21041 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#21041 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#21041 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#21041 Signed-off-by: stonezdj <[email protected]>
fixes goharbor#21041 Signed-off-by: stonezdj <[email protected]>
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
Getting frequent error on the harbor core container
Steps to reproduce the problem:
Please provide the steps to reproduce this problem.
Enable OIDC authentication
enable OIDC user login except admin user
Versions:
Please specify the versions of following systems.
Error Logs:
2024-09-19T16:56:12Z [ERROR] [/server/middleware/security/oidc_cli.go:68][requestID="242bf2db33e997bf2c69f93d81f51db8"]: failed to verify secret, username: admin, error: failed to get oidc user info, error: <QuerySeter> no row found 2024-09-19T16:56:42Z [ERROR] [/server/middleware/security/oidc_cli.go:68][requestID="fa0b94915681af7a535e11c2af207b0e"]: failed to verify secret, username: admin, error: failed to get oidc user info, error: <QuerySeter> no row found 2024-09-19T16:57:12Z [ERROR] [/server/middleware/security/oidc_cli.go:68][requestID="195ee11d4bd8ea0c39368145cf76c153"]: failed to verify secret, username: admin, error: failed to get oidc user info, error: <QuerySeter> no row found 2024-09-19T16:57:42Z [ERROR] [/server/middleware/security/oidc_cli.go:68][requestID="4539600fe12d22a94fd11623237bded8"]: failed to verify secret, username: admin, error: failed to get oidc user info, error: <QuerySeter> no row found
The text was updated successfully, but these errors were encountered: