From 5d268623ddb0ad3abd3ae749ad5492aa76a97cd9 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 2 May 2022 17:31:54 +0200 Subject: [PATCH] changesets: add changeset for oauth2 proxy tweaks Signed-off-by: Patrik Oldsberg --- .changeset/hungry-goats-mate.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/hungry-goats-mate.md diff --git a/.changeset/hungry-goats-mate.md b/.changeset/hungry-goats-mate.md new file mode 100644 index 0000000000..733b1c7cf5 --- /dev/null +++ b/.changeset/hungry-goats-mate.md @@ -0,0 +1,9 @@ +--- +'@backstage/plugin-auth-backend': patch +--- + +Updates the OAuth2 Proxy provider to require less infrastructure configuration. + +The auth result object of the OAuth2 Proxy now provides access to the request headers, both through the `headers` object as well as `getHeader` method. The existing logic that parses and extracts the user information from ID tokens is deprecated and will be removed in a future release. See the OAuth2 Proxy provider documentation for more details. + +The OAuth2 Proxy provider now also has a default `authHandler` implementation that reads the display name and email from the incoming request headers.