SAP SAML authentication doesn't accept WS-TRUST URI token

时间秒杀一切 提交于 2020-04-17 04:17:23

问题


We have a SSO setup between SAP Netweaver and ADFS (acting as the STS). So, some user will login on a custom ASP.Net application and this application will request a SAML assertion from ADFS to access the SAP system.

The thing is that according to SAP documentation the relying party identifier of the SAP system is not an URL (its just a name), and that way is specified en ADFS (eg: SAPSYSTEMRPID).

How on earth I can get a token issued using WS-TRUST (which is what ADFS provides) when the AppliesTo field requires an Uri? Is there a default scheme, some convention?

I've been beating my head against the table for days now, I am obviously missing something


回答1:


Well, to close my own question after so much.

In the end the problem was ADFS naming of Relying Parties, once we switched the name to an URL (which took some convincing) it started working.

ADFS should be string in the name format for the RP identifier.



来源:https://stackoverflow.com/questions/22968117/sap-saml-authentication-doesnt-accept-ws-trust-uri-token

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