backstage-plugin-gitlab
backstage-plugin-gitlab copied to clipboard
Authenticate API requests
trafficstars
With the addition of auth middleware for certain implementations the requests made through frontend plugins get rejected if they don't contain a valid token as a part of the request. The following changes incorporate the backstage identity api to fetch bearer tokens and attach them to request headers for authenticating api requests within backstage.