diff --git a/internal/connector/internal/handlers/connector_cluster.go b/internal/connector/internal/handlers/connector_cluster.go index dcd38ba9d..075a3858e 100644 --- a/internal/connector/internal/handlers/connector_cluster.go +++ b/internal/connector/internal/handlers/connector_cluster.go @@ -245,11 +245,11 @@ func (o *ConnectorClusterHandler) buildAddonParams(cluster dbapi.ConnectorCluste Value: authTokenURL, }, { - Id: "mas-sso-base-url", + Id: "sso-base-url", Value: o.Keycloak.GetRealmConfig().BaseURL, }, { - Id: "mas-sso-realm", + Id: "sso-realm", Value: o.Keycloak.GetRealmConfig().Realm, }, { diff --git a/internal/connector/test/integration/cucumber_steps.go b/internal/connector/test/integration/cucumber_steps.go index 297dc73f4..d807f45a3 100644 --- a/internal/connector/test/integration/cucumber_steps.go +++ b/internal/connector/test/integration/cucumber_steps.go @@ -64,7 +64,7 @@ func (s *extender) getAndStoreAccessTokenUsingTheAddonParameterResponseAs(as str byId[p.Id] = p.Value } - u, err := url.Parse(fmt.Sprintf("%s/auth/realms/%s/protocol/openid-connect/token", byId["mas-sso-base-url"], byId["mas-sso-realm"])) + u, err := url.Parse(fmt.Sprintf("%s/auth/realms/%s/protocol/openid-connect/token", byId["sso-base-url"], byId["sso-realm"])) if err != nil { return err }