From 209c87e7838e8b005c5e08daf0ac29244d91289a Mon Sep 17 00:00:00 2001 From: Andre Wanlin Date: Wed, 29 Nov 2023 13:46:47 -0600 Subject: [PATCH 1/2] Fixed GitHub auth Signed-off-by: Andre Wanlin --- yarn.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/yarn.lock b/yarn.lock index baaaf5320..fc457986f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12609,6 +12609,7 @@ __metadata: "@backstage/errors": ^1.2.3 "@backstage/plugin-app-backend": ^0.3.56-next.1 "@backstage/plugin-auth-backend": ^0.20.1-next.1 + "@backstage/plugin-auth-backend-module-github-provider": ^0.1.5-next.1 "@backstage/plugin-auth-node": ^0.4.2-next.1 "@backstage/plugin-badges-backend": ^0.3.5-next.1 "@backstage/plugin-catalog-backend": ^1.15.1-next.1 From 46ae3ee6d257dee6b00b3244ef8f1e67cefe2488 Mon Sep 17 00:00:00 2001 From: Andre Wanlin Date: Wed, 29 Nov 2023 13:47:06 -0600 Subject: [PATCH 2/2] Fix GitHub auth Signed-off-by: Andre Wanlin --- packages/backend/package.json | 1 + packages/backend/src/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/backend/package.json b/packages/backend/package.json index 3b2b78814..c2caf2928 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -26,6 +26,7 @@ "@backstage/errors": "^1.2.3", "@backstage/plugin-app-backend": "^0.3.56-next.1", "@backstage/plugin-auth-backend": "^0.20.1-next.1", + "@backstage/plugin-auth-backend-module-github-provider": "^0.1.5-next.1", "@backstage/plugin-auth-node": "^0.4.2-next.1", "@backstage/plugin-badges-backend": "^0.3.5-next.1", "@backstage/plugin-catalog-backend": "^1.15.1-next.1", diff --git a/packages/backend/src/index.ts b/packages/backend/src/index.ts index e8d7d6486..5c422ddc8 100644 --- a/packages/backend/src/index.ts +++ b/packages/backend/src/index.ts @@ -7,6 +7,7 @@ const backend = createBackend(); backend.add(import('@backstage/plugin-app-backend/alpha')); backend.add(import('@backstage/plugin-auth-backend')); +backend.add(import('@backstage/plugin-auth-backend-module-github-provider')); backend.add(import('@backstage/plugin-badges-backend')); backend.add(import('@backstage/plugin-catalog-backend/alpha')); // TODO:(awanlin) replace when this is completed: https://github.com/backstage/backstage/pull/20551