Fixed Dashboard Data Issue: Updated the targetPluginId from 'plugin.catalog.service' to 'catalog' to get the correct token (#4846)
* Fixed Dashboard Data Issue: Updated the targetPluginId from 'plugin.catalog.service' to 'catalog' to get the correct token (#16) Signed-off-by: hetsaliya-crestdata <het.saliya@crestdata.ai> * Updated the CODEOWNERS for Mend Plugin Signed-off-by: hetsaliya-crestdata <het.saliya@crestdata.ai> --------- Signed-off-by: hetsaliya-crestdata <het.saliya@crestdata.ai>
This commit is contained in:
parent
28484050f7
commit
a6e6de78b5
|
|
@ -70,7 +70,7 @@ yarn.lock @backsta
|
|||
/workspaces/linkerd @backstage/community-plugins-maintainers
|
||||
/workspaces/manage @backstage/community-plugins-maintainers @grantila
|
||||
/workspaces/matomo @backstage/community-plugins-maintainers @yashoswalyo @deshmukhmayur @riginoommen
|
||||
/workspaces/mend @backstage/community-plugins-maintainers @dariuszsobkowicz
|
||||
/workspaces/mend @backstage/community-plugins-maintainers @NormanWenzelWSS @rupalvihol @hetsaliya-crestdata
|
||||
/workspaces/microsoft-calendar @backstage/community-plugins-maintainers
|
||||
/workspaces/mta @backstage/community-plugins-maintainers @ibolton336
|
||||
/workspaces/multi-source-security-viewer @backstage/community-plugins-maintainers @caugello @cryptorodeo
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@backstage-community/plugin-mend-backend': patch
|
||||
---
|
||||
|
||||
Updated the targetPluginId from 'plugin.catalog.service' to 'catalog' to get the correct token
|
||||
|
|
@ -96,7 +96,7 @@ export async function createRouter(
|
|||
const credentials = await httpAuth.credentials(request);
|
||||
const { token } = await auth.getPluginRequestToken({
|
||||
onBehalfOf: credentials,
|
||||
targetPluginId: 'plugin.catalog.service',
|
||||
targetPluginId: 'catalog',
|
||||
});
|
||||
|
||||
// entity to project match
|
||||
|
|
@ -156,7 +156,7 @@ export async function createRouter(
|
|||
const credentials = await httpAuth.credentials(request);
|
||||
const { token } = await auth.getPluginRequestToken({
|
||||
onBehalfOf: credentials,
|
||||
targetPluginId: 'plugin.catalog.service',
|
||||
targetPluginId: 'catalog',
|
||||
});
|
||||
|
||||
// entity to project match
|
||||
|
|
|
|||
Loading…
Reference in New Issue