thefrontside / playhouse

Frontside's Backstage Portal
https://backstage.frontside.services/
25 stars 13 forks source link

Use correct request type for extracting auth token #380

Closed kunickiaj closed 9 months ago

kunickiaj commented 9 months ago

Motivation

The request type from express does not match the data received. The data received is in the format of a node-fetch Request. Using the correct data structure allows the request headers to be parsed correctly for extracting the authz token.

Approach

Corrects the type to Request from node-fetch.

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: e3d21a3a47b01af2ac9475479a015371c645fade

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------------------------------------------------- | ----- | | @frontside/backstage-plugin-graphql-backend-module-catalog | Patch |

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

taras commented 9 months ago

Thank you for figuring this out.