I have completed 1st step of authentication, but after successful authenticate google authenticate page will not come, straight redirect to protected directory. Not sure why?
Can you please help me out?
My Virtual Host file look like below
i am working in xampp on localhost in ubuntu
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/auth/
#RewriteCond %{HTTP_COOKIE} !^.*2FA_Auth=([a-zA-Z0-9]+)
RewriteRule ^(.*)$ /auth/auth?$1?%{QUERY_STRING} [L,R=302]
RewriteCond %{REQUEST_URI} !^/auth/
#RewriteCond %{HTTP_COOKIE} ^.*2FA_Auth=([a-zA-Z0-9]+)
RewriteCond /opt/lampp/htdocs/2factor/apache_2fa/state/%1 !-f
RewriteRule ^(.*)$ /auth/auth?$1?%{QUERY_STRING} [L,R=302]
ScriptAlias /auth/ /opt/lampp/htdocs/2factor/apache_2fa/
<Directory /opt/lampp/htdocs/2factor/apache_2fa>
AuthType Digest
AuthName "dev.apache2fa.com"
AuthDigestDomain /
AuthDigestProvider file
AuthUserFile /opt/lampp/htdocs/2factor/apache_2fa/apache_credentials
Require valid-user
<Directory /opt/lampp/htdocs/Temp>
AuthType Digest
AuthName "dev.apache2fa.com"
AuthDigestDomain /
AuthDigestProvider file
AuthUserFile /opt/lampp/htdocs/2factor/apache_2fa/apache_credentials
Require valid-user
</Directory>
I have completed 1st step of authentication, but after successful authenticate google authenticate page will not come, straight redirect to protected directory. Not sure why?
Can you please help me out?
My Virtual Host file look like below
i am working in xampp on localhost in ubuntu
RewriteEngine On
<Directory /opt/lampp/htdocs/2factor/apache_2fa>
AuthType Digest
AuthName "dev.apache2fa.com"
AuthDigestDomain /
AuthDigestProvider file
AuthUserFile /opt/lampp/htdocs/2factor/apache_2fa/apache_credentials
Require valid-user