department
attribute from the IdP as the source of dox_client_id
in the user token. However, you can choose the attribute that best fits your particular use case.dox_client_id
attribute to the user’s token.In the SAP BTP cockpit, navigate to the Subscriptions tab of the tenant subaccount and choose the Actions button for the Document Information Extraction UI subscription.
Next, choose Manage Roles. On the Roles tab, choose Add a role (plus button above the table).
Enter a name for the new role. Now, select the role template Document_Information_Extraction_Attr_Dox_Client_Id
. You also have the option of adding a description here. When you’ve completed your entries, choose Next.
To configure the attributes, select Identity Provider as source and enter department
as value. These settings map the dox_client_id
attribute to the department
user attribute from the IdP. Choose Next.
Don’t make any changes to the remaining steps and complete the wizard by choosing Finish.
Next, create a new role collection with the name Document_Information_Extraction_Attr_Dox_Client_Id
that contains this new role. To do so, navigate to Role Collections, choose the plus button at the top of the screen, and make the necessary entries.
Now, navigate to Users and assign your new role collection to all the users that need to access the Documentation Information Extraction UI.
"xs.user.attributes": {
"dox_client_id": ["d1", "d2", "d3"]
}
POST
request to the /configuration?scope=instance
endpoint with the following payload:{
"value": {
"clientSegregation": "true"
}
}
By following the above steps for configuring roles in the SAP BTP Cockpit and enabling client segregation in the Swagger UI, you can easily restrict users’ access only to the clients that are specified in their access tokens.
Got any feedback or thoughts about client segregation in Document Information Extraction? Then feel free to share them in a comment below. If you’d like to ask (or answer) a question about the service or UI, you can make a post here. And if you want to dig deeper into other aspects of Document Information Extraction, then check out the blogposts here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
35 | |
25 | |
13 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |