1b.app
Link copied -

A block from the iframe of the OpenCart cabinet in the process interface to enter the site admin

GOAL

Enter the OpenCart administrator's office from the task in the box

What did:

Through the iframe, the block was displayed in the process interface with a link to the OpenCart cabinet

But when we enter the account login and password, nothing happens in the box, and the fields with the login and password are cleared.

Although when we enter with the same accesses via a direct link, everything is fine, OpenCart allows us to enter.

At the same time, if we enter incorrect accesses, it gives an error and the values ​​in the login and password fields are not overwritten.

At the same time, if we use the link to the site https://balistyka.ua/ in an iframe, the site is displayed perfectly.

Please tell me how to fix this problem?
Original question is available on version: ua Вячеслав Легеза

Answers:

Find out with the opencart developers why it doesn’t log in via iframe. We can't help you here, we don't influence it - we just open the link.
06.10.2023, 16:23
Original comment available on version: ru


Legeza Vyacheslav
iCOLOR OneBox (FOP LEGEZA VIACHESLAV VALERIANOVYCH) wrote:
GOAL
Enter the OpenCart administrator's office from the task in the box
What did:
Through the iframe, the block was displayed in the process interface with a link to the OpenCart cabinet

Kharosh
06.10.2023, 16:24
Original comment available on version: ua

Jokes aside, you need to change the cookies on the opencard so that they have the 'samesite' => 'None' parameter, then you can log in normally. This can be done by an opencart programmer
06.10.2023, 16:36
Original comment available on version: ru

But this is not safe, so you probably need to do it only for the admin panel and only for certain ips, for example, and not for everyone.
06.10.2023, 16:38
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you

Department of Care
OneBox production wrote:
But it's not safe, so maybe you need to do it only for the admin and only for certain IPs, for example, and not for everyone.

thank you sincerely
very helpful advice indeed!
06.10.2023, 19:26
Вячеслав Легеза Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment