Hi
I have LDAP authentication and I'm trying to make it so that when I open the browser and access the URL, the logon is automatic using the Windows credentials
However, it always asks for username and password when accessing the URL
Can you help me with some guidance on the correct method?
Thanks in advance
Location "/ideas">
# STEP 1 : authenticate users on AD
AuthBasicProvider ldap
AuthType Basic
AuthLDAPRemoteUserAttribute sAMAccountName
AuthName "Active Directory Authentication"
#AuthzLDAPAuthoritative off
AuthLDAPURL "ldap://ipaddress:389/DC=x,DC=x,DC=x?sAMAccountName?sub?(objectClass=*)"
AuthLDAPBindDN " CN=SSO User,CN=Users,DC=x,DC=x,DC=x"
AuthLDAPBindPassword "password!"
Require valid-user
LDAPReferrals off
# STEP 2 : Pass the user’s ID to IDEAS in the IV-User variable
RequestHeader add IV-User "%{AUTHENTICATE_sAMAccountName}e"
RequestHeader add realm "x"
</Location>
################################################################################
<VirtualHost *:443>
SSLEngine on
ServerName hostname:443
SSLCertificateFile "C:/xampp/apache/conf/ssl/server.crt"
SSLCertificateKeyFile "C:/xampp/apache/conf/ssl/server.key
DocumentRoot "C:/xampp/htdocs"
# CustomLog C:/xampp/apache/logs/ssl_request.log" \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
CustomLog "logs/ssl_request.log" common
<Directory "C:/xampp/htdocs">
Options Indexes Includes FollowSymLinks
AllowOverride AuthConfig Limit FileInfo
Require all granted
</Directory>
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
SSLProxyEngine on
#################################################################################
ProxyPreserveHost on
ProxyRequests on
ProxyPass / https://ipaddress:9343/
ProxyPassReverse / https://ipaddress:9343/
ProxyPassReverseCookiePath / /
RewriteEngine on
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) https://ipaddress:9343/$1 [P,L]
</virtualhost>