SAP Identity Authentication & Authorization (IAS/IPS)
Centralized identity federation and authorization management for BTP applications using Identity Authentication Service and Identity Provisioning Service.
Two different questions, answered by two different components. Blurring them is the mistake this topic exists to catch.
IAS is like a hotel's central front desk that verifies your identity once using your existing ID (your corporate credentials) rather than each room requiring you to create a brand-new hotel-specific password; IPS is housekeeping automatically updating the room-access list the moment a guest checks in or out, so no room ever stays accessible to someone who's already left; XSUAA and role collections are the specific room-key permissions determining which rooms and amenities that verified guest is actually allowed to use.
Key Concepts
authentication who is this? IAS
authorization what may they do? XSUAA + role collections user -> BTP app -> IAS -> corporate IdP (Azure AD, LDAP-backed, ...)
the user's existing credentials app declares scope "Orders.Approve"
role collection "Order Approver" contains that scope
user assigned that collection
-> the token carries the scope; the app checks it 1. User opens the application
2. Redirected to IAS, which federates to the corporate identity provider
3. User authenticates there and returns with an assertion
4. XSUAA exchanges it for an OAuth2 token carrying the user's scopes
5. The application checks the scope before performing the action