[catalog] replace getBearerToken with library

Reduce code duplication by replacing `getBearerToken` with
the one from `@backstage/plugin-auth-node`

Signed-off-by: Rickard Dybeck <dybeck@spotify.com>
This commit is contained in:
Rickard Dybeck
2023-05-25 13:53:42 -04:00
parent 7dd8b39a92
commit 77e04a2d55
4 changed files with 45 additions and 23 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Replace getBearerToken with library function of same