SAP-samples/hana-shine-xsa

XS_AUTHORIZATION_ADMIN authorization error

bhargavsrinadh opened this issue · 1 comments

We are able to launch the "launchpad" app but got the following error when tried to check the prerequisites. We are receiving this authorization error even though the role collection " XS_AUTHORIZATION_ADMIN" has been added to the user through XSA_ADMIN.

"An error occurred while checking your authorization. Please assign the XS_AUTHORIZATION_ADMIN role collection to your user and retry"

anyone facing this issue?

I recognized that the build of the user-xsjs node was always creating a xsuaa service with a generated name, e.g. XSA_DEV-8qkhdn0gmoaxjl9o-hana-shine-xsa-shine-uaa and not using the shine-xsuaa I have created as described in the manual. Therefore I deleted this generated service instance and created a new one with the same name and uploaded the xs-security.json from the shine project when creating the service. This solved the issue for me.