Skip to content

replace omniauth-ldap with gitlab_omniauth-ldap #663

Merged
erdgeist merged 3 commits intofrab:masterfrom
elad-eyal:update_omniauth_ldap
Feb 15, 2020
Merged

replace omniauth-ldap with gitlab_omniauth-ldap #663
erdgeist merged 3 commits intofrab:masterfrom
elad-eyal:update_omniauth_ldap

Conversation

@elad-eyal
Copy link
Collaborator

@elad-eyal elad-eyal commented Nov 21, 2019

see #659

This PR:

(1) Adds a bunch of tests for LDAP login, using the free testing server at ldap.forumsys.com.

(2) replaces omniauth-ldap gem with gitlab_omniauth-ldap gem, which allows upgrading upgrading omniauth from 1.8.1 to 1.9.0

(3) Adds support for LDAP_DISABLE_VERIFY_CERTification; Apparently omniauth-ldap did not verify server certificate by default, and gitlab_omniauth-ldap does verify it by default.

@elad-eyal elad-eyal force-pushed the update_omniauth_ldap branch from d5101fb to 95d2c60 Compare November 24, 2019 14:16
@elad-eyal
Copy link
Collaborator Author

I had to add LDAP_DISABLE_VERIFY_CERT=1 because it wouldn't work with my enterprise LDAP server. Now it works. I think it's ready for merging.

@erdgeist erdgeist merged commit c3f6c4b into frab:master Feb 15, 2020
@elad-eyal elad-eyal deleted the update_omniauth_ldap branch September 22, 2020 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants