Forum

This content is now out of date.

Visit Our Community

Javascript api call with web service logon token

We are embedding YF dashboard into our application and it looks great. We are using JavaScript API to embed the dashboard. The issue is we need to supply user name and password along the JavaScript API call to authenticate user. Obviously this is not secure. We implemented Web Service SSO and got the token. The issue is we cannot supply this toke along with JavaScript API call. We can only pass the token to YF login page to authenticate user. However, we do not want to show standalone YF application to the end user. Could you give us some suggestions on how to handle this? Thanks a lot.

Yi
Hi Yi,

You should be able to pass the token to the Javascript API using the 'token' parameter.

For more information on this please see :
Javascript API > Basic Use

Please let me know how you go.

Regards,
David

The "toke" parameter works. This is great feature.