Setting up GitHub as an OmniAuth provider

When your company is switching to GitLab, chances are that you're using GitHub at this point. So, all of the employees have a GitHub account and might even use that GitHub account to do their own open source work. It would be great if you could make the switch to GitLab without forcing your employees to create a new account. In this recipe, we will take a look at how you can set up GitLab so that your people can authenticate themselves with their GitHub account.

How to do it…

With the following steps, we will register a GitLab app on GitHub and link it to our GitLab server:

  1. Log in to your GitHub account.
  2. Go to your user settings.
  3. Click on Applications.
  4. Click on Register new application.
  5. You now see a form that ...

Get GitLab Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.