Bug #79436
closedCannot open TYPO3 Backend from frontend admin panel on "other domain"
0%
Description
When accessing the frontend while logged in on a different domain in the backend the user cannot open the backend using the frontend admin panel.
Given there is a multi domain TYPO3 installation:
- There is the host foo.bar
and foo.baz
.
- The Page "Homepage" is assigned to the host foo.bar
.
- The frontend editing is active
When a backend user is now accessing the the backend on foo.baz
and selecting the preview button for the "Homepage" then that page will open in a new tab. The host changes to foo.bar
. When the user now tries to use the "Open TYPO3 Backend" button nothing happens. A JS error is logged: Error: Permission denied to access property "TS"
The reason for this is that the same origin policy is violated when the frontend tries to access the backedn that is on a different domain.
Updated by Riccardo De Contardi almost 8 years ago
Is this related? https://forge.typo3.org/issues/65124
Updated by Markus Poerschke almost 8 years ago
In my mind this is not directly related. The other ticket is about the login part. In my example (maybe I missed that point) the Backend User is already logged in.
Updated by Markus Poerschke almost 8 years ago
The same problem occures when the page is open via a <a href="..." target="_blank"> link from a website from another domain. So it is not fully related to multi domain websites.
Updated by Frank Nägler about 7 years ago
- Status changed from New to Needs Feedback
Maybe I am wrong, but I guess there is not solution, because of the reason you mentioned.
The only way is to use the same domain. If you have any solution, please tell me.
Updated by Markus Poerschke about 7 years ago
- Assignee set to Markus Poerschke
This was exactly how we solved the problem for one of our customers. He then was forced to login twice into TYPO3 Backend.
Let me check this ticket again. I think it can be solved by setting the correct "Cross Origin" HTTP headers. The question is only if this is something that needs to be added to the PHP implementation of TYPO3 or if it can be solved by a simple Apache configuration change.
Updated by Frank Nägler about 7 years ago
I guess this should be solved by server setup, so apache or nginx config is a good place.
Updated by Frank Nägler almost 7 years ago
- Status changed from Needs Feedback to Closed
No feedback since 1 month, as mentioned in my last comment I think this should be solved by server configuration.
If you think this should or can be solved in another way, feel free to reopen this issue.
Updated by Xavier Perseguers about 6 years ago
- Related to Feature #86548: Copy / paste Frontend URL and open in Backend added