Recommended way for access webservices on domain A from domain B if A is SSO'ing into B?

北城以北 提交于 2019-12-24 21:29:06

问题


frontend dev here with no experience with SSO so bear with me. Keen for a high-level recommendation on the following as I can appreciate it may vary.

We've got a client setting up SSO to login to our site, and Im trying to understanding how I can safely call their webservices for user info from our domain via AJAX. Looking at their services they're asking for a User ID and Password which I dont think is usable/feasible as I assume our system would need to expose the password to the frontend which doesnt seem secure... They mentioned they could pass these via http but that doesnt seem secure either!

Is there some sort of way we can validate the webservice all via SSO or is there some other way?

Thanks


回答1:


Further my comment, we're pushing ahead with using the shared encryption method used for our SSO (TripleDES in ECB mode) to encrypt the token in the webservice request



来源:https://stackoverflow.com/questions/10257088/recommended-way-for-access-webservices-on-domain-a-from-domain-b-if-a-is-ssoing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!