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>
This commit is contained in:
devonpaluso
2023-10-29 10:19:46 -04:00
committed by GitHub
parent 9c91930d25
commit 77cc04d5fd
+1
View File
@@ -371,6 +371,7 @@ createApiFactory({
configApi,
discoveryApi,
oauthRequestApi,
provider: { id: 'ghe', title: 'GitHub Enterprise', icon: () => null },
defaultScopes: ['read:user'],
environment: configApi.getOptionalString('auth.environment'),
}),