• Steve Prentice's avatar
    Use the omniauth-ldap info object instead of the raw ldap info in extra. · 2bb2dee0
    Steve Prentice authored
    This helps with compatibility with more LDAP providers as the implementation
    doesn't depend on the exact names of the LDAP fields. The LDAP strategy
    helps maps the attributes to the fields in the info object and we use the
    info object to get the email and name.
    
    This makes the LDAP auth compatible with most OpenLDAP servers as well.
    2bb2dee0
omniauth_callbacks_controller.rb 360 Bytes