From 8b755dcfa4981ed16090f0925ce426066fbb5eb0 Mon Sep 17 00:00:00 2001 From: Daniel Laird Date: Fri, 25 Oct 2024 06:35:13 +0100 Subject: [PATCH 1/2] Add FrontEnd visibility to Google Auth Provider Signed-off-by: Daniel Laird --- plugins/auth-backend-module-google-provider/config.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/auth-backend-module-google-provider/config.d.ts b/plugins/auth-backend-module-google-provider/config.d.ts index e788860fa8..1571c06deb 100644 --- a/plugins/auth-backend-module-google-provider/config.d.ts +++ b/plugins/auth-backend-module-google-provider/config.d.ts @@ -18,6 +18,7 @@ export interface Config { /** Configuration options for the auth plugin */ auth?: { providers?: { + /** @visibility frontend */ google?: { [authEnv: string]: { clientId: string; From b83366048ed4784bcb26e636e7a5de35396078a6 Mon Sep 17 00:00:00 2001 From: Daniel Laird Date: Fri, 25 Oct 2024 06:45:35 +0100 Subject: [PATCH 2/2] Add changeset Signed-off-by: Daniel Laird --- .changeset/few-hornets-rush.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/few-hornets-rush.md diff --git a/.changeset/few-hornets-rush.md b/.changeset/few-hornets-rush.md new file mode 100644 index 0000000000..7d23a5ffc9 --- /dev/null +++ b/.changeset/few-hornets-rush.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-auth-backend-module-google-provider': patch +--- + +Fix visibility of config for use in front end code