Using Integrated Windows Authentication in Perl Dancer

I am currently building a web application with Perl Dancer. This application requires users to authenticate using my Active Directory company. To avoid asking users for their usernames and passwords, I would like to use integrated Windows authentication. However, it’s hard for me to find any documentation that explains how to use this type of authentication with Perl - not to mention the Dancer framework. At the moment I'm not sure if I will deploy this application on Apache or IIS, so what would work with them would be preferable. Anyone have any suggestions to help me get started?

+4
source share
1 answer

It was verified and found that someone else had this question on PerlMonks, and it seemed to work for them. I am testing it now.

Question about PerlMonks: http://www.perlmonks.org/?node_id=821419

The original poster stated that they used the following guide: http://sivel.net/2007/05/sso-apache-ad-1

All link using perl module: https://metacpan.org/module/Apache2::AuthenNTLM

Edit: it works!

  • Make sure your apache configuration loads the ntlm.conf file

  • Do not use all fqdn for your PDC; just the host name.

  • "PerlSetVar ntlmdebug 1" is useful. Just remember to turn it off.

+3
source

Source: https://habr.com/ru/post/1389569/


All Articles