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:
@@ -371,6 +371,7 @@ createApiFactory({
|
||||
configApi,
|
||||
discoveryApi,
|
||||
oauthRequestApi,
|
||||
provider: { id: 'ghe', title: 'GitHub Enterprise', icon: () => null },
|
||||
defaultScopes: ['read:user'],
|
||||
environment: configApi.getOptionalString('auth.environment'),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user