Harbor: Harbor and Azure Active Directory

Created on 22 Sep 2019  ·  2Comments  ·  Source: goharbor/harbor

Hi All, I would like to know if Harbor supports authentication via Azure Active Directory, is there any documentation about that integration ?

Many thanks.

areldap kinrequirement

Most helpful comment

This works when using the oicd provider.

  1. Create an app registraion in azure ad.
    Note down the tenant id and client id.
  2. Create a secret for the app registration.
    Note down the secret.
  3. In Harbor select the oicd authentication method.
  4. The name can be anything you want.
  5. The endpoint is https://login.microsoftonline.com/{tenant-id}/v2.0 (note that it does not end with a /, and does not include the ".well-known/openid-configuration" part).
  6. Enter the client-id and secret
  7. Use the scope "openid,email,profile" (no spaces).
  8. Testing the connection should work.
  9. Save, log out and try to login using the "Login using OICD" button.

All 2 comments

It is not supported. Can you please test and let us know if there are any issues, and we can support from there? @roldancer

This works when using the oicd provider.

  1. Create an app registraion in azure ad.
    Note down the tenant id and client id.
  2. Create a secret for the app registration.
    Note down the secret.
  3. In Harbor select the oicd authentication method.
  4. The name can be anything you want.
  5. The endpoint is https://login.microsoftonline.com/{tenant-id}/v2.0 (note that it does not end with a /, and does not include the ".well-known/openid-configuration" part).
  6. Enter the client-id and secret
  7. Use the scope "openid,email,profile" (no spaces).
  8. Testing the connection should work.
  9. Save, log out and try to login using the "Login using OICD" button.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

adomenech73 picture adomenech73  ·  3Comments

izhichao picture izhichao  ·  3Comments

a-kinder picture a-kinder  ·  3Comments

272909106 picture 272909106  ·  4Comments

Poil picture Poil  ·  3Comments