We have a 3rd party mobile app. Which during the login process creates an access token to access one of our API(.netcore) using the Authorization code grant flow.
https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code
The mobile app displays many tiles. After login, when the user clicks on one of the tiles, I want to call another .netcore API(using the access_token).
I was planning to use client credential flow for the second API call as it does not require user interaction.
https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-oauth2-client-creds-grant-flow
But the API endpoint(in the code) checks the Claims to get the userID and client credential flow creates a jwt token without the user information(as there is no user interaction).
Am I using the correct flow? Is there a way to use authorization code grant flow when clicking the tile(without needing a user interaction)?