If enabled, users can use GitHub or GitHub Enterprise to authenticate to the registry.
Note: A registered GitHub (Enterprise) OAuth application is required.
View instructions on how to
Create an OAuth Application in GitHub
Enable GitHub Authentication
Warning: This provider is not bound to your {{ config.AUTHENTICATION_TYPE }} authentication. Logging in via this provider will create a -only user, which is not the recommended approach. It is highly recommended to choose a "Binding Field" below.
GitHub: |
|
GitHub Endpoint: |
The GitHub Enterprise endpoint. Must start with http:// or https://.
|
OAuth Client ID: |
|
OAuth Client Secret: |
|
Organization Filtering: |
Restrict By Organization Membership
If enabled, only members of specified GitHub
Enterprise organizations will be allowed to login via GitHub
Enterprise.
|
Binding Field: |
If selected, when a user logs in via this provider, they will be automatically bound to their user in {{ config.AUTHENTICATION_TYPE }} by matching the selected field from the provider to the associated user in {{ config.AUTHENTICATION_TYPE }}.
For example, selecting Subject here with a backing authentication system of LDAP means that a user logging in via this provider will also be bound to their user in LDAP by username.
If none selected, a user unique to will be created on initial login with this provider. This is not the recommended setup.
|