• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue Autologin problem via API

deniz

New Pleskian
Server operating system version
CloudLinux 7.9 (Boris Yegorov)
Plesk version and microupdate number
18.0.43
We are trying to do an autologin from our panel to Plesk but we have a strange problem

API version 1.6.9.1

We've successfully created a token via API following these info

and then built this url
https://<hostname>:8443/enterprise/rsession_init.php?PHPSESSID=<token>&PHPSESSID=<token>

In psa.sessions database we can find the record

sess_id type login ip ip_dual_stack login_time modifed lifetime
db682b7f037495c735e0ea1291b75996 4 pippo our ip 1652362749 1652362750 1800

but when we click the generated link login is not validated and we are redirected to the Plesk login page with this url
https://<hostname>:8443/login_up.php?success_redirect_url=%2Findex.php

and the record in psa.sessions is deleted

We use the same scripts for other servers with Plesk without any problem

So, what is the problem? how can we debug and resolve the issue?

Thanks
 
Back
Top