Problem/Motivation
Hi,
Decided to update from working 2.0 with patch to 3.0.1:
https://www.drupal.org/files/issues/2022-07-27/legal-fix-flow-D8-2897486...
Result: Some of the users are getting logged in, but some does not give any error message and the user is not logged in.
I have a modal where user login screen opens.
Error in drupal logs:
Path: /legal_accept?token=XupOlOimSdR_MfqO5FfjSw8XxB0rZAhH099KEZdUqvA. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 118 of /var/www/html/site/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).
So I had to go back to 2.0 and all works fine.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork legal-3359317
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nonom commentedI'm also having this issue.
Comment #3
nonom commentedMy issue was generating the Cookies from Varnish, related with #2884028: Problem with cookies
From the Legal module README
Comment #4
anybodyCould someone please add more information and especially clear steps how to reproduce this?
Any further ideas for the root cause?
Comment #5
anybodyMight this be part of the issue?
#3350239: Improve Varnish / Cookies issue documentation
Comment #6
anybodyThere was a further similar report: #3255109: access denied
So I'm setting the priority to major.
The other issue also describes steps to reproduce this.
Comment #7
robert castelo commentedCan't reproduce. Does this still happen with version 3?