How to obtain OTDS token when using SSO ?

I would like to get an OTDS token so I can call the integration widgets for the user that's issueing the request.
We have Content Server configured for SSO using OTDS; so how can I get an OTDS ticket for the current user using the REST API ?

Tagged: