From 09fff50b27b222e0fa39c77daf14b416715a6f4e Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 2 May 2022 17:35:36 +0200 Subject: [PATCH] auth-backend: added note about oauth2-proxy example setup Signed-off-by: Patrik Oldsberg --- plugins/auth-backend/src/providers/oauth2-proxy/provider.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/auth-backend/src/providers/oauth2-proxy/provider.ts b/plugins/auth-backend/src/providers/oauth2-proxy/provider.ts index 63353f7655..625c9e3d62 100644 --- a/plugins/auth-backend/src/providers/oauth2-proxy/provider.ts +++ b/plugins/auth-backend/src/providers/oauth2-proxy/provider.ts @@ -30,6 +30,11 @@ import { prepareBackstageIdentityResponse } from '../prepareBackstageIdentityRes import { createAuthProviderIntegration } from '../createAuthProviderIntegration'; import { IncomingHttpHeaders } from 'http'; +// NOTE: This may come in handy if you're doing work on this provider: +// +// plugins/auth-backend/examples/docker-compose.oauth2-proxy.yaml +// + export const OAUTH2_PROXY_JWT_HEADER = 'X-OAUTH2-PROXY-ID-TOKEN'; /**