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

  1. Create an Okta OIDC Web Application, assign intended users, and register the exact redirect URI shown by Harbor.
  2. 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.
  3. 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.

Official documentation

Have Pilae connect your identity provider

Pilae can deploy Harbor with your identity provider already connected. We agree the edition, account mapping and access tests with your team before rollout.