OTDS Authentication token by rest api

Dears we have CS working with OTDS.
I have to develop a widget to integrate in other application which requires opening a CS browse widget folder in a pop up window. I am using CSUI sdk, my question is the user who opens up this pop up window from a third party application and the user is in OTDS.

How can i get this user token which Url i need to use? i don't want the user to enter credentials. Also in the back end in an ajax call i am creating the folders using Cws web services i need to pass this token to back end to create folders by passing this token id.

please advise.

Regards,
Meerasaaheb Mohmmad
Tagged: