Closed wKich closed 9 months ago
Latest commit: 2124df020438cd7f03808e6dc2c0355e744e33cf
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
📣 NOTIFICATION You are receiving this message because we did not publish any packages.
Generated by @thefrontside/actions
Motivation
@kunickiaj has issue with Catalog GraphQL Plugin while using Backstage Catalog with authz enabled. Because Catalog data loader requests entities from catalog without token, which leads to 401 HTTP Error and GraphQL query fails
Approach
Yoga GraphQL Server, which we are using passes HTTP Request to GraphQL Context. It allows us to grab auth token from request headers, that is put there by Backstage https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/authenticate-api-requests.md