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

Not able to create projects in harbor ,when we enabled keycloak OIDC. #21063

Open
shaiksaif279 opened this issue Oct 18, 2024 · 0 comments
Open

Comments

@shaiksaif279
Copy link

Steps we followed.

  1. Configured keycloak as an Oidc authorization in harbor.
  2. Post this integration, the user can login to harbor with keycloak credentials.
  3. When I tried to create a harbor project by using harbor rest APIs, I used the keycloak credentials to authenticate.
  4. When I hit the API, we are getting an unauthorized error with those credentials.
  5. But with the same credentials (keycloak credentials), I can be able to login to Harbor UI.
  6. In Harbor Ui, I have made the same users as admin.

harbor configuration:
Screenshot (235)

harbor system settings:
Screenshot (234)

Error we are getting while creating the harbor project:
Screenshot (236)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant