How to pass input credentials for xtk:session#logon web service
Hello Folks,
Hope you're doing well
We are leveraging OOTB provided API's for our requirement, as a part of it I am doing 2 calls:
- To Xtk:Session#Logon Service to generate a session token, security token.
- To Xtk:Session#Write by supplying required parameters along with Session Token for Authorization
I was able to do this from SOAP by passing credentials (username/password) to get session token and write data, but when it comes to doing via code (JavaScript), how can I pass credentials as input to generate session token thereby ensuring it is not visible anywhere in Code ? Is there anyway to mask credentials ?
Please help with suggestions
@adhiyan @jonathon_wodnicki @vraghav @_manoj_kumar_
Thanks,
SSB