Skip to content

Commit

Permalink
fix(connectors): fixes MGDCTRS-1056, renamed mas-sso-* addon params t…
Browse files Browse the repository at this point in the history
…o sso-*
  • Loading branch information
dhirajsb committed Jun 29, 2022
1 parent a1a2496 commit d8e561f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/connector/internal/handlers/connector_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down
2 changes: 1 addition & 1 deletion internal/connector/test/integration/cucumber_steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d8e561f

Please sign in to comment.