Skip to content

Commit

Permalink
feat(container): pass projectId in data platform url (#14670)
Browse files Browse the repository at this point in the history
ref: DATATR-1471

Signed-off-by: Arthur Bullet <[email protected]>
Co-authored-by: Jonathan Perchoc <[email protected]>
  • Loading branch information
abullet33 and jperchoc authored Jan 3, 2025
1 parent 5148b67 commit be04c91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export function getPciProjectMenu(
id: 'data-platform',
title: 'Data Platform',
badge: 'beta',
href: 'https://eu.dataplatform.ovh.net/',
href: `https://hq-api.eu.dataplatform.ovh.net/iam/v4/login?authentication_provider=ovh&project=${projectId}&app_id=forepaas&&response_type=token&redirect_uri=https%3A%2F%2Feu.dataplatform.ovh.net&authorize_bypass=true&token_mode=cookie&force_auth=false`,
external: true,
},
isFeaturesAvailable('logs-data-platform') && {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ pciNode.children = [
universe: PUBLICCLOUD_UNIVERSE_ID,
translation: 'sidebar_pci_analytics_data_platform',
count: false,
url: 'https://eu.dataplatform.ovh.net/',
url: 'https://hq-api.eu.dataplatform.ovh.net/iam/v4/login?authentication_provider=ovh&project={projectId}&app_id=forepaas&&response_type=token&redirect_uri=https%3A%2F%2Feu.dataplatform.ovh.net&authorize_bypass=true&token_mode=cookie&force_auth=false',
features: ['data-platform'],
tag: NodeTag.BETA,
isExternal: true,
Expand Down

0 comments on commit be04c91

Please sign in to comment.