on 09-19-2022 9:54 AM
Hi everyone,
I am trying to fetch the custom attributes through SAML protocol from SAP IAS tenant . It is the second tenant configured in the image using SAML protocol. The metadata is exchanged on both sides and custom attributes set.
On fetching the details from the path /user-api/attributes , I get the response
the custom attributes are not visible in response. However, I checked that the attributes are being fetched in SAML metadata from IAS tenant side.
the change I tried in xs-security.json is this line
Thanks in advance. Any suggestion will be greatly helpful.
Hello Vinay,
the foreign-scope statement is used to accept scopes that are granted from different xsuaa instance.
See here for a detailed description.
In your case, as far as I understand, you want to access the attributes from your app in BTP?
To solve that, you need to define attributes in your xs-securitry.json file.
Then, in cockpit, map these attributes to the IAS-attributes
In this tutorial I've played with IAS-attributes and customAttributes and checked them in BTP, in an app that is bound to XSUAA.
Please check it out and let us know if it solves your issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.