From 77cc04d5fdbe8b452ffda091d4c83e6b8a219c31 Mon Sep 17 00:00:00 2001 From: devonpaluso <55293990+devonpaluso@users.noreply.github.com> Date: Sun, 29 Oct 2023 10:19:46 -0400 Subject: [PATCH] Update Documentation to Work Properly The provider.id is used as the backend auth endpoint, which is added in this same guide. The default provider id is `github`, which will point to the wrong auth endpoint. Without modifying the core package code, this guide will not work without this additional configuration line. Signed-off-by: devonpaluso <55293990+devonpaluso@users.noreply.github.com> --- docs/auth/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/auth/index.md b/docs/auth/index.md index 091c8b01a0..806cda0ff7 100644 --- a/docs/auth/index.md +++ b/docs/auth/index.md @@ -371,6 +371,7 @@ createApiFactory({ configApi, discoveryApi, oauthRequestApi, + provider: { id: 'ghe', title: 'GitHub Enterprise', icon: () => null }, defaultScopes: ['read:user'], environment: configApi.getOptionalString('auth.environment'), }),