goharbor / goharbor/perf

createUserForbidden on OIDC enabled instance

Open
#42 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
25
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Seems this tools doesn't work for OIDC enabled Harbor instances, as the local user creation would be disabled, when on OIDC.

When we run perf prepare on OIDC enabled instance we get below error [Test projects gets created fine]:
INFO[0001] GoError: failed to create user user-001, error: [POST /users][403] createUserForbidden source=console

We use admin User, so its not the User permission issue, rather not allowed of local User creation apart from the default admin user, when OIDC is enabled.

Any suggestions or workaround please?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the perf prepare flow that creates user-001 and reproduce the reported [POST /users][403] createUserForbidden error against an OIDC-enabled Harbor instance. Review how the existing admin user and project creation steps behave, then define a supported workaround or preparation path that completes without local-user creation being rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.