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

Command icon 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

Youcanlearnit created an issue. See original summary.

nonom’s picture

I'm also having this issue.

nonom’s picture

My issue was generating the Cookies from Varnish, related with #2884028: Problem with cookies

From the Legal module README

VARNISH
Add Legal module's cookies to the Varnish whitelist. 
anybody’s picture

Category: Support request » Bug report
Priority: Minor » Normal
Status: Active » Postponed (maintainer needs more info)

Could someone please add more information and especially clear steps how to reproduce this?

Any further ideas for the root cause?

anybody’s picture

anybody’s picture

Version: 3.0.1 » 3.0.x-dev
Priority: Normal » Major
Status: Postponed (maintainer needs more info) » Active

There 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.

robert castelo’s picture

Status: Active » Closed (cannot reproduce)

Can't reproduce. Does this still happen with version 3?