Using the SSO token with the JavaScript API v3
Answered
I would like to use single sign-on with the JavaScript API v3.
In the case of the previous JavaScript API v2 and SOAP web services, we were able to achieve this by obtaining a token in SOAP's LOGINUSER service and including the obtained token in the parameters of the URL calling the API v2.
How can we achieve this in the case of JavaScript API v3 and REST API?
Also, does the REST API have the equivalent of SOAP's LOGINUSERNOPASSWORD service?
Translated with http://www.DeepL.com/Translator (free version)
Hi Hiroyuki.
We have a page with some documentation on using the new REST API for logging in with SSO tokens: https://developers.yellowfinbi.com/dev/api-docs/yf-api.html#tag/login-tokens
Although there are several options here, such as the refresh-token, you will probably want to use login-tokens as they have the full SSO feature list. I believe the section marked "Create an SSO login token without a valid access token" is the equivalent of SOAP's LOGINUSERNOPASSWORD service.
If that's not the case and it doesn't work, let me know.
Kind regards,
Chris
Hi Hiroyuki.
We have a page with some documentation on using the new REST API for logging in with SSO tokens: https://developers.yellowfinbi.com/dev/api-docs/yf-api.html#tag/login-tokens
Although there are several options here, such as the refresh-token, you will probably want to use login-tokens as they have the full SSO feature list. I believe the section marked "Create an SSO login token without a valid access token" is the equivalent of SOAP's LOGINUSERNOPASSWORD service.
If that's not the case and it doesn't work, let me know.
Kind regards,
Chris
Hi Hiroyuki,
Hope you're having a good week.
Just wanted to check-in and see how it's all going. Was there anything you were needing from me to help get this resolved?
Regards,
Chris
Hi Hiroyuki,
Hope you're having a good week.
Just wanted to check-in and see how it's all going. Was there anything you were needing from me to help get this resolved?
Regards,
Chris
Replies have been locked on this page!