Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !1248

Merged
Created Aug 17, 2012 by Administrator@rootOwner

Omniauth Support

  • Overview 35
  • Commits 7
  • Changes 20

Created by: funglaub

Hey guys.

First of all, thanks for the great app!

I added Omniauth support for Google-OAuth2, Twitter and GIthub to gitlab.

It works like that: A user can choose between pre-configured omniauth providers to login along with his username/password. This can be found in the 'Authentications' (the former 'Password') tab.

Configuration is done in config/gitlab.yml, including app_id and app_secret for each provider. The list of providers can easily be expanded by adding the needed gems to the Gemfile and providing a corresponding logo. The current logos were taken from http://github.com/intridea/authbuttons.

Omniauth can also be disabled in config/gitlab.yml, which is the current default setting.

I tried to integrate all the new functionality as good as possible into existing views.

Please, tell me what you think!

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/funglaub/master