Commit graph

14 commits

Author SHA1 Message Date
Lin Jen-Shin
1e2b6cf514 Introduce Gitlab::Auth.omniauth_setup_providers
Which could extend from EE
2018-06-01 14:30:10 +08:00
Lin Jen-Shin
39b6f31c66 Eliminate constants warnings by:
* Replace `require` or `require_relative` with `require_dependency`
* Remove unneeded `autoload`
2018-06-01 13:46:46 +08:00
Tiago Botelho
699ecad78c Ports omniauth-jwt gem onto GitLab OmniAuth Strategies suite 2018-04-26 10:13:29 +01:00
Horatiu Eugen Vlad
1ad5df49b1 Moved o_auth/saml/ldap modules under gitlab/auth 2018-02-28 16:53:02 +01:00
Jacopo
181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Bob Van Landuyt
f8865e9c13 Define ldap methods at runtime
This avoids loading the `OmniAuthCallbacksController` at boot time so
it doesn't mess up the `before_action`-chain
2017-08-24 17:33:53 +02:00
Rubén Dávila
ef97cb54ae Backport some recent changes related to LDAP from EE 2017-07-27 08:45:16 -05:00
blackst0ne
cc3a82bc8b Add rescue false. 2017-07-26 11:05:44 +02:00
blackst0ne
8ce8b21f67 Refactor CSRF protection 2017-07-26 11:05:44 +02:00
Rémy Coutable
c5e34da01d
Remove explicit require calls, and use require_dependency when needed
See
http://guides.rubyonrails.org/autoloading_and_reloading_constants.html
for more info.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-13 14:29:55 +01:00
Douglas Barbosa Alexandre
a2ef52b32b Add custom OmniAuth strategy for Bitbucket OAuth2 2016-11-21 16:47:24 -08:00
Felipe Artur
56f3b243ce Add leading comment space cop 2016-05-31 19:33:46 -03:00
Douwe Maan
41a4785b85 Fix signin with OmniAuth providers 2015-12-08 14:58:15 +01:00
Douwe Maan
843694f902 Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g 2015-08-26 17:53:31 -07:00