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 · 0 comments

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

1 participant