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

[BUG]: #1560778826: You are not authenticated to see this view #225

Open
agendartobias opened this issue Aug 6, 2024 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@agendartobias
Copy link

TYPO3 v12.4.15
luxletter v26.2.0 (same on v26.1.0)

I am adding a new newsletter, select a page and get this error instead of a preview:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1560778826: You are not authenticated to see this view | In2code\Luxletter\Exception\AuthenticationFailedException thrown in file /var/www/html/typo3conf/ext/luxletter/Classes/Controller/FrontendController.php in line 76. Requested URL: https://mysite.si/enovice/preview.html?tx_luxletter_preview%5Blanguage%5D=0&tx_luxletter_preview%5Blayout%5D=NewsletterContainer&tx_luxletter_preview%5Borigin%5D=127

In Extension Configuration -> luxletter if i remove checkbox in Multilanguage mode and define URL by myself: https://mydomain.si/enovice?type=1562349004 preview works ok

@einpraegsam
Copy link
Collaborator

I can confirm this issue if the preview domain is different to the domain where the backend user is logged in into backend. As long as it is possible to login into backend with another domain this is more a missing feature at the moment.


Problem: There is a simple check that is called before initializePreviewAction() is called if the requested user is logged in into backend.

@einpraegsam einpraegsam added the enhancement New feature or request label Aug 14, 2024
@agendartobias
Copy link
Author

Hey this is strange because my domain is the same. Maybe it has something to do that we have Varnish cache on FE?

@linawolf
Copy link

linawolf commented Oct 1, 2024

I can confirm, I have this error also in an installation where preview domain backend domain are the same. we do not have a Varnish cache

@linawolf
Copy link

linawolf commented Oct 1, 2024

  • Downgrading in2code/luxletter (26.2.0 => 25.0.4)

Resolved the problem for me

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

No branches or pull requests

3 participants