Files
backstage/plugins/auth-node
Mitchell Hentges 6f142d5356 Fix authenticate() ctx properties being missing
This was broken because the return value of `initialize()` was a `Promise<...>` but its caller wasn't `await`-ing the value.

This was causing the `gcpIap` provider to fail on the `/request` endpoint because `jwtHeader` was undefined.

The OAuth equivalent keeps `initialize()` synchronous, and all implementations don't _need_ to be `async`, so make them synchronous instead.

I've chosen the changelog to be a `major` bump since this changes the API of a public type.

Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
2023-10-04 10:08:50 +02:00
..
2023-09-26 13:20:00 +00:00
2023-09-26 13:20:00 +00:00

Auth Node

Common functionality and types for the Backstage auth plugin.