Harbor SSO with Okta (OIDC)
Use Okta for Harbor portal login and Harbor-issued CLI secrets for interactive registry clients.
Last updated
On this page (5)
Harbor · Okta · OIDC
Before you start
- Harbor system administrator and Okta web application administrator.
- Harbor still eligible to switch authentication mode; check the restriction on existing local users.
Configure sign-in
- Create an Okta OIDC Web Application, assign intended users, and register the exact redirect URI shown by Harbor.
- Under Administration > Configuration > Authentication, choose OIDC and enter the Okta issuer, client ID and secret. Set scopes and a username claim appropriate to the tenant, test the OIDC server, then save.
- Sign in to the portal and copy the CLI secret from the user profile for docker login; do not use the Okta password.
Verify the result
- Test portal login and a private image pull with a permitted account.
- Check rejection for an unassigned user and verify CLI secret behavior after IdP token expiry.
