Basic-Auth icon indicating copy to clipboard operation
Basic-Auth copied to clipboard

Login Warning

Open abcajax opened this issue 5 years ago • 6 comments

I have implemented this plugin. It works great for non logged in user but for logged in user used via Postman, it shows the following. Could you please help solve this. I have latest wordpress install till date.

Login Warning There was an issue with your log in. Your user account has logged in recently from a different location.

abcajax avatar Jun 22 '20 12:06 abcajax

I have implemented this plugin. It works great for non logged in user but for logged in user used via Postman, it shows the following. Could you please help solve this. I have latest wordpress install till date.

Login Warning

There was an issue with your log in. Your user account has logged in recently from a different location.

Hello, have you this code in your .htaccess?

RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.) RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]

cuxaro avatar Jun 22 '20 12:06 cuxaro

Earlier, I added RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] but I commented and tried your suggested ones but still the same problem.

abcajax avatar Jun 22 '20 13:06 abcajax

It only happens to the normal users trying to access via REST. It works fine for the admin user. So some kind of issue with the normal user.

abcajax avatar Jun 22 '20 13:06 abcajax

Are you sure that haven't any other plugin that limit the number of simultaneous users?

cuxaro avatar Jun 22 '20 13:06 cuxaro

no, I tried disabling all the possible plugins which can cause issue and tried. Just left the standard plugins but still the problem. I had wordfence installed but I disabled it.

abcajax avatar Jun 22 '20 13:06 abcajax

@abcajax @cuxaro any luck? Having the same issue and tried the Rewrite Rules.

Keeyan avatar Jun 28 '20 16:06 Keeyan