SAP-samples / hana-shine-xsa

SAP HANA Interactive Education for SAP HANA Extended Application Services, Advanced Model (SHINE for XS Advanced) is an education content to learn, develop, and deploy SAP HANA XS Advanced Model application and is a successor of SHINE for XS Classic.
Apache License 2.0
115 stars 111 forks source link

XS_AUTHORIZATION_ADMIN authorization error #64

Closed bhargavsrinadh closed 2 years ago

bhargavsrinadh commented 4 years ago

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?

apoeschl commented 4 years ago

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.