Login from external website

Hi all,

I am currently trying to create a way I can login from my wordpress website to suitecrm,I have the connection done and the correct naming for the form in place,however when I try to login,I get the following, “You have been logged out because your session has expired”,
I have this action on my form action=“https://.com/index.php?Login&module=Users” and my method = “post”

My suitecrm version is Version 7.10.21

I will kindly and sincerely appreciate any help and assistance

Thanks

I’m not sure if this is possible. I believe there are some restriction, with the intent to make the login more secure, that might interfere.

Check your logs to see if there are any clues there, about why it0s rejecting the login attempt.

Check the current SuiteCRM login page, and see if you can emulate every little detail in the same way: all the parameters in the POST request, the cookies, etc.

Thanks,I found a simple solution to go around it.

Cool, do you want to share it so that others can learn from your experience? Thanks!

I followed this link
https://suitecrm.com/suitecrm/forum/developer-help/781-custom-login

1 Like