Closed (duplicate)
Project:
Shield
Version:
8.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2019 at 16:08 UTC
Updated:
29 Nov 2021 at 15:29 UTC
Jump to comment: Most recent
After setting a name and password the site immediately requests basic auth credentials. I supply them but then I am blocked at /user/login with the message:
Access denied
You are not authorized to access this page.
User account menu
Log in
Comments
Comment #2
stmh commentedany chance you have enabled REST-ressources requiring basic_auth? This will conflict with shield.
Comment #3
vacilando commentedIndeed, @stmh, in the meantime I've found out that basic_auth (from D8 core) cannot be enabled together with the Shield module.
Here's the relevant Drupal 8 core issue: https://www.drupal.org/project/drupal/issues/2842858
Comment #4
vbouchetWe recently merged some code to try to deal with basic_auth in #2815945. As there is already some issues around that issue, I am closing this one as a duplicate for clarity in the issue queue. Please reopen if you think I am wrong.