chore: added changeset

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-03-11 15:53:20 +01:00
parent 617d2df982
commit 703ebc9767
2 changed files with 5 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Fix support for unauthenticated requests to create scaffolder tasks
@@ -461,10 +461,7 @@ export async function createRouter(
defaultKind: 'template',
});
// TODO(blam): This should be forced user auth eventually, but let's keep it as is for now,
// with the ability to do unauthenticated task creation.
const credentials = await httpAuth.credentials(req);
const { token } = await auth.getPluginRequestToken({
onBehalfOf: credentials,
targetPluginId: 'catalog',