multikreher
New Pleskian
Hello all,
I am currently working on an automatic login for different Plesk servers for my final project in my apprenticeship.
Everything works as expected only I have one problem!
I make the XML request as described in the documentation. It also works and gives me a token to create a login link.
Request looks like this:
I am currently running the application locally on my pc.
Now about the problem:
I create the login link and it works fine. But when I try to log in to my network at home or via a hotspot with the link, it only redirects me, but does not log me in as usual.
At home my network uses IPv6 by default.
when I force my PC to use IPv4 the link works again as usual.
But now it's getting funny. At work it works with IPv6 too. In addition, the servers are not located locally.
Does anyone have any idea what the problem is?
Thanks for reading
I am currently working on an automatic login for different Plesk servers for my final project in my apprenticeship.
Everything works as expected only I have one problem!
I make the XML request as described in the documentation. It also works and gives me a token to create a login link.
Automatische Anmeldung in Plesk
Die automatische Anmeldung in Plesk ist hilfreich, wenn Sie andere Dienste mit Plesk verknüpfen. Kunden, die sich in ...
docs.plesk.com
XML:
<packet version="1.6.9.1">
<server>
<create_session>
<login>${loginData.user}</login>
<data>
<user_ip>${loginIp}</user_ip> // in BASE64
<source_server></source_server>
</data>
</create_session>
</server>
</packet>
I am currently running the application locally on my pc.
Now about the problem:
I create the login link and it works fine. But when I try to log in to my network at home or via a hotspot with the link, it only redirects me, but does not log me in as usual.
At home my network uses IPv6 by default.
when I force my PC to use IPv4 the link works again as usual.
But now it's getting funny. At work it works with IPv6 too. In addition, the servers are not located locally.
Does anyone have any idea what the problem is?
Thanks for reading