I am a Drupal newbie, so pardon any errors in my question. In my D9 site I am using password policy module to set password policy rules. When I hit "Reset password" I get a one-time link to my email. Upon clicking the link, it shows "Access Denied"-You are not authorized to access this page error. The log shows below error message:
"Path: /user/reset/10. SymfonyComponentHttpKernelExceptionAccessDeniedHttpException: in DrupaluserControllerUserController->getResetPassForm() (line 186 of /var/www/html/web/core/modules/user/src/Controller/UserController.php)."
Reset password link is as below:
https://mysitedomain/user/reset/10/1644339844/Xglx63gun5qPwmUzv2BEBZPLBUmH-eW0ekVEndy4_1M
Any help on how this can be fixed? The user I’m trying to reset the password is active.