Setup Single Sign-On of Harbor with Opstella
This content is not available in your language yet.
Prerequisites
Section titled “Prerequisites”To Setup Single Sign-On with Opstella, you need
- 📦Opstella Keycloak
- While you reading this section and have not yet setup Opstella Keycloak, you can skip its consideration for now.
- Your dedicated Keycloak Realm.
${KEYCLOAK_REALM}; Please change accordingly
- 🔑OpenID Connect Credentials: Client ID, Client Secret.
- Gather Client ID, Client Secret - from Opstella Keycloak Appendix - Gathering Client ID, Client Secret
Harbor with Opstella Single Sign-On Integration
Section titled “Harbor with Opstella Single Sign-On Integration”You need to go to Harbor instance that you have installed and configure within its settings menu.
-
Gather 🔑OpenID Connect Credentials (Client ID, Client Secret)
-
Go to
${HARBOR_DOMAIN}and Login with Initial Admin Account -
Go to
Administration>Configuration>AuthenticationConfigure by adjust/fill in the textfield follow by the list:
💡 Your dedicated Keycloak Realm.
${KEYCLOAK_REALM}; Please change accordingly- Auth Mode:
OIDC - OIDC Provider Name:
OPSTELLA(ALL CAPS) - OIDC Endpoint:
https://${KEYCLOAK_DOMAIN}/realms/${KEYCLOAK_REALM} - OIDC Client ID:
CHANGEME🔑 - OIDC Client Secret:
CHANGEME🔑 - Group Claim Name:
groups - OIDC Scope:
openid,profile,email - Verify Certificate: ✅ Yes (Ticked)
- Automatic onboarding: ✅ Yes (Ticked)
- Username Claim:
preferred_username
- Auth Mode:
-
Click on
TEST OIDC SERVERand it should informConnection to OIDC server is verified
-
Click
SaveTesting Single Sign-On Integration in End-to-End Testing/Single Sign-On for Harbor
Finished?
Use the below navigation to proceed