I'm using Azure AD to authenticate access to my Web API to certain applications registered within Azure AD. The authentication process works nicely, but I'm wondering what my options might be for auditing who is accessing the API? If the only thing I see from the external API is their valid Bearer Token, is there any way I can get the Application Name, for example?
The authentication process happens on our server too, so earlier in the process we would see the Client ID. But then is there a secure way to tie the token to the client ID or obtain the Name from any of that?