From the Global view, select Security > Authentication from the main menu.
Select GitHub.
Follow the directions displayed to Setup a GitHub Application. Rancher redirects you to GitHub to complete registration.
What’s an Authorization Callback URL?
When you use external authentication, authentication does not actually take place in your application. Instead, authentication takes place externally (in this case, GitHub). After this external authentication completes successfully, the Authorization Callback URL is the location where the user re-enters your application.
Click Authenticate with GitHub.
Use the Site Access options to configure the scope of user authorization.
-
Any GitHub user can access Rancher. We generally discourage use of this setting!
Restrict access to only Authorized Users and Organizations
Only GitHub users or groups added to the Authorized Users and Organizations can log in to Rancher.
-
Click Save.
- GitHub authentication is configured.