I need to have my users click a button in the backoffice of another application and pass the login information, and log them directly into Sugar, without making them login again. Is this possible? And how? Thanks in advance for your help! Troy
I need to have my users click a button in the backoffice of another application and pass the login information, and log them directly into Sugar, without making them login again. Is this possible? And how? Thanks in advance for your help! Troy
Link to...
http://<yoursite>/<your crm directory>/index.php?module=Users&action=Authenticate&user_na me=<the user name>&user_password=<the password>
The key bits are...
module=Users
action=Authenticate
user_name=
user_password=
Of course, it does mean that anyone coming accross that link can now log in
T H E S U G A R R E F I N E R Y ™
: : : SugarCrm Customisation and Integration Services : : :
SugarCRM Systems Integration Partner
Trusted with SugarCRM
http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com
Can you do the same thing to create a USER , in Sugar, from another appllication? THANKS
Yes. It's just data being fired at the server.
But you'd have to already be logged in.
Do a view source on the create user page, look at the names of all the entry fields, and look at the action that's sent on the form submit.
Question is, why would you?
It would be far easier to pass the additional parameters on the automatic login to redirect to the create user page after the login....
return_module=Users
return_action=EditView
Of course, the user logged in would have to be an admin
And on the Pro edition you may quickly run out of licences!
Finally, bear in mind you can't delete users through the interface
T H E S U G A R R E F I N E R Y ™
: : : SugarCrm Customisation and Integration Services : : :
SugarCRM Systems Integration Partner
Trusted with SugarCRM
http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com
I am getting the following error when passing the login string on my server:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
But.... I can use the regular login process no problem. Any ideas??
Hi,
I am trying to login and send a search string at a same time. I am able to login and serach page comes up but it is not passing the search string for some reason.
This is how I have done it please let me know what am I missing in this line to pass the query string properly so it will serach properly.
http://localhost/index.php?module=Us...ring=123456789
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks