Salsa Single Sign on

Salsa provides a method to allow campaign managers to login via a token, instead of using their username and password. This is useful for Single Sign-on with third party services

After you have authenticated to a Salsa server, you can use the getLoginToken.jsp method from your server using PHP/Curl/Python, etc:

https://tld.node.com/salsa/hq/sso2/getLoginToken.jsp?campaign_manager_KEY=####
where #### is the key of the campaign manager to retrieve a token for.

This will generate an XML response containing the token, such as:

<data>
<token>edwhPmoqhawGXM8AAwRGFL9Nah5eWYFU7xiMPs4=</token>
</data>

Once you have the token, the user can be authenticated via a call from their web browser to

/api/authenticate?token=[[token]]
where the token is obtained above. This will automatically log the user into their Salsa account without requiring additional usernames and passwords.