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

Onboard an OIDC user via API #17477

Open
ashishkumar-07 opened this issue Aug 30, 2022 · 1 comment
Open

Onboard an OIDC user via API #17477

ashishkumar-07 opened this issue Aug 30, 2022 · 1 comment
Labels
area/oidc kind/requirement New feature or idea on top of harbor

Comments

@ashishkumar-07
Copy link

ashishkumar-07 commented Aug 30, 2022

I am working on a project where one type of user will publish the container applications and other type of user will use those container application. To store the container application we are using Harbor. The project has other functionalities as well. To manage the user of project we are using Keycloak. We have integrated the Harbor with keycloak using the below document
https://goharbor.io/docs/2.6.0/administration/configure-authentication/oidc-auth/

The problem is that this doc mentioned to use the UI to onbaord a user however we are not exposing the harbor UI. We are only using the harbor backend. The API /c/oidc/onboard, which is responsible for onboarding a oauth user is meant for browser only flow.
Can we have another similar API for backend flow which works with basic auth or JWT token instead of x-csfr-token?

@ashishkumar-07 ashishkumar-07 changed the title Onboard an Oauth user via API Onboard an OIDC user via API Aug 31, 2022
@MinerYang MinerYang added area/oidc kind/requirement New feature or idea on top of harbor labels Sep 5, 2022
@ashishkumar-07
Copy link
Author

Hi Team,
For now is there any other way to achieve the same. Onboarding a OIDC user without using the UI?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/oidc kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

No branches or pull requests

2 participants