In this exercise we will define security and enable user authentication and authorization for your SAP HANA Cloud CAP application.
Perform all the steps in 👉 tutorial: Add User Authentication to Your Application (SAP HANA Cloud)
While we could use CAP to mock the authentication, we've gone a step further in this exercise and generated a real XSUAA instance and added authentication to our application in a way that allows us to still test via the locally running services in the Business Application Studio.
-
Why is the
redirect-uris
needed in the xs-security.json? -
What other authentication strategies could we have used with CAP?
-
Why did the request to
/user-api/
work? We didn't code it and CAP didn't provide it. So where did it come from?
- SAP CAP Authentication
- XSUAA in Hybrid Setup
- CAP Authorization and Access Control
- SAP BTP Roles and Role Collections
Continue to 👉 Exercise 6 - Create Calculation View and Expose via CAP (SAP HANA Cloud)