Fix: allow unauthenticated requests for entity badges
Signed-off-by: sagardesai1 <mr.sagar576@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-badges-backend': minor
|
||||
---
|
||||
|
||||
Fix unauthorized requests by allowing unauthenticated requests
|
||||
@@ -63,6 +63,10 @@ export const badgesPlugin = createBackendPlugin({
|
||||
auth,
|
||||
}),
|
||||
);
|
||||
httpRouter.addAuthPolicy({
|
||||
path: '/',
|
||||
allow: 'unauthenticated',
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user