Hi @metalheart ,
Thanks for reaching out.
Yes, it may be possible to use a single app registration for both your mobile app and your API, but it is not the recommended approach from a security perspective.
If you use the same client ID for both the mobile app and the API, any client that knows the client ID can potentially access your API, as they are not required to present any proof of identity or authentication.
Therefore, it is recommended to register separate app registrations for your mobile app and API. Your mobile app registration should be configured with the appropriate API permissions (scopes) to access your API, and your API registration should verify that these scopes are present in the access token that it receives.
Additionally, you should use a client secret to authenticate your API with Azure AD to ensure that only authorized clients with access to the secret can access your API.
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.