A cloud-based identity and access management service for securing user authentication and resource access
Hi @Alex Linder ,
Thanks for reaching out.
Please find the answer inline below:
- Is there a reference architecture + code samples available for a similar scenario? not specifically with SAP - nevertheless contains interaction of an app with various different service providers, API and Web. Sample - https://learn.microsoft.com/en-us/entra/identity-platform/tutorial-v2-android
- What configuration is required on the Entra ID per app (oauth apps per app - scopes, audience, authorized party). The configuration required on the Entra ID per app will depend on the specific requirements of each app. You'll need to configure the scopes, audience, and other configuration for each app based on what it needs to access.
- Is there a way with Entra ID to have more then one client_id in the audience field of the access token (JWT)? user is authenticated for the mobile app (oauth app1) It's not possible to have more than one client_id in the audience field of the access token (JWT) with Entra ID. The audience field is used to specify the intended recipient of the token, and it should only contain the client ID of the app that is intended to receive the token.
- Can the AcquireTokenInteractive.WithExtraScopeToConsent - be used for different resource urls? the AcquireTokenInteractive.WithExtraScopeToConsent method can be used to request additional scopes for a specific resource URL. The user will need to consent to each additional scope that you request. Reference - https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/desktop-mobile/acquiring-tokens-interactively#withextrascopestoconsent Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.