I have website running in my intranet, currently all users login to the website using LDAP - they need to write down their username and password.
I know that in ASP.NET, I can have Windows Authentication, which will remove the login process in my intranet.
How can I do this in Ruby on Rails using Nginx? I saw options for using IIS as proxy.. before I will quit and do this, do you have any idea?
This is answer for you question: http://wiki.phys.ethz.ch/readme/devise_with_ldap_for_authentication_in_rails_3
I havn't tested out this module, but this is what you want:
https://github.com/fintler/nginx-mod-auth-kerb
Kerberos is the way to go with this one, there's also an Apache module out there.
I'm not entirely certain where it would give you the Username - let me know if you find where it gets set
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With