Discussions
Regression: /portal/login/loginwithtoken no longer accepts refresh token without existing PHP session
26 days ago by Tomas Vyskocil
Hello,
In API versions 44.4.4 and earlier, it was possible to perform an automatic login by using the API refresh token with the /portal/login/loginwithtoken endpoint, for example:
This allowed us to perform programmatic login and streamline login for end users.
Since version 44.4.5, the /portal/login/loginwithtoken endpoint now appears to require an existing PHP session before it will authenticate.
Could you confirm whether this is an intentional change or a regression?
Is there a replacement workflow for programmatic login using the refresh token?
Thanks