Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean install token exception breaks administration panel with an infinite redirect loop #539

Open
damian-pastorini opened this issue Aug 30, 2024 · 1 comment

Comments

@damian-pastorini
Copy link

damian-pastorini commented Aug 30, 2024

Describe the bug
With a clean install of the plugin there's an exception on every admin route related to the access token.
This is causing an infinite loop in the admin login page.
image

// ...
Object { file: "/var/www/shopware/custom/plugins/AdyenPaymentShopware6/vendor/league/oauth2-server/src/Exception/OAuthServerException.php", line: 243, trace: […], … }
// ...
The token violates some mandatory constraints, details:- Token signature mismatch- The token is expired
// ...
Object { file: "/var/www/shopwar/custom/plugins/AdyenPaymentShopware6/vendor/lcobucci/jwt/src/Validation/RequiredConstraintsViolated.php", line: 24, trace: […] }

Versions
Shopware version: 6.6.5.1
Plugin version: 4.1.0

To Reproduce
Steps to reproduce the behavior:

  1. Install the plugin in a clean SW installation
  2. Go to the admin panel /admin
  3. See error in the console (you will need to enable the "persist logs" option otherwise the continuous redirect will not allow you to see it).

Expected behavior
Allow admin panel access.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser Firefox
  • Version
@adyen-integrations-support

Hello @damian-pastorini,

Thank you for reaching out to us regarding this issue.

Our team attempted to reproduce the issue in a local environment but, unfortunately, without success. We conducted several tests using a fresh installation, and all requests in the Network tab responded with a 200 status after installation.

To assist us in investigating further, could you please confirm how the Adyen plugin was installed when the issue occurred? Was it installed via a zip file or Composer?

Additionally, could you expand on the steps to reproduce the issue so that we can try to replicate it as precisely as possible?

Thank you,

Kind regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants