Trying to run a script from a Pocket webpanel with login_secret=<usec> - Redirected to login page

Hi guys, trying to make a script in online that i would like to be able to call from Pocket - the issue is that i can't make SuperOffice auto login based on login_secret - an example of calling the script could look like this:

 

https://online2.superoffice.com/Cust15265/CS/scripts/blogic.fcgi?_sf=0&action=doScript&id=157&type=9&login_secret=<usec>

Im not interested in using safeparse, as i would like to make sure the script is not accessed by people not logged into superoffice.

But im just redirected to the login page - i could use safeparse as said, but i need to verify that the user is actually logged in to superoffice, so alternatively if there is any way to validate the security token within a crm script, that might be a workable solution as well.

 

Thanks in advance.

RE: Trying to run a script from a Pocket webpanel with login_secret=<usec> - Redirected to login page

Hi Dennis,

Have you tried with preview_secret=<usec> instead of login_secret?

By: Michel Krohn-Dale 27 Jan 2020