ActiveCampaign / activecampaign-api-php

MIT License
115 stars 76 forks source link

Your session has expired. Please login again. #104

Open 43chandran opened 5 years ago

43chandran commented 5 years ago

Your session has expired. Please login again.

etetland-va commented 5 years ago

Is this happening while you try to use the link made from the "singlesignon" token? If so, I'm having that problem too

etetland-va commented 5 years ago

I can get the SSO token and everything looks fine, but when I try to use the link it says it's expired. I set the expiry to 30 minutes, and tried setting the IP address as 127.0.0.1 and as my computer's public IP address. I've tried it on sandbox accounts and trial accounts, but not any paid ones.

etetland-va commented 5 years ago

The workaround for my problem after asking support was to update the password on the user (even if it is the same password). So I needed to add an extra edit user API call before using the SSO link. It's strange that it fixes it, but I'll take it.

akhzarjaved commented 3 years ago

Any solution for this ? I am stuck here

guiqis commented 3 years ago

Same problem here! And the solution @etetland-va provided is not working for me. Is it still working for you? Any solution?

DavidMcWilliams commented 2 years ago

This error message is also used if the IP address does not match.

I have a server configured only use IPv4, and it signs tokens with an IPv4 address. If an IPv6 user accesses my server using an IPv4 translation service, they will get a token but be unable to use it.