Hello Colleagues,
I'm trying to solve this topic since a while, I have a XS APP in HCP factory, I'm Using SAP ID to authenticate the users via SAML and I would like to know how can I retrieve the user mail.
I have tried with SAMLinfo, but it does not work and I don't see any place were I can see what is the information that the SAP ID provider is publishing, based in this blog post Use SAML to enable SSO for your SAP HANA XS App (SPS 09 rev 92 or later) is it supposed that the SAPID service is publishing the first_name, last_name and mail but it does not work in my case, every time I tried with the different options provided in the blog post, it does retrieve nothing ($.session.samlUserInfo["first_name"] ) or it does not allow the activation because the code is not permitted (
var value = $.session.samlUserInfo. <name>; ).
In the above blog there is a post from Henrik Plate that has been able to make it work, I have reviewed the metadata in my case and looks the same, so I don't see were I do have the error, if any.
I have also evaluate if there is an option to use the HANA User Parameters to store this info, but I haven't see any way to retrieve this User Parameters that I have inserted.
Where can I define what are the data published by the SAPID Service?
if somebody has suffered the same issue and has found a solution or anything different that can fit, please let me know how you did it.
Best Regards and thanks a lot in advance.
David.