c# – How to Authenticate Azure AD users?

I want to authenticate the Active AD users in my application. Only authorized users should be able to login. My application components are

  1. Web Page (Client)
  2. Net Core API 6.0
  3. Azure AD.

The Azure AD login credentials will be entered through the web client.
Please let me know if the following is the correct way to do the authentication.

Get the Token by connecting to Azure AD through the web client.
Send the token to web API for validation.

Thanks for your valuable suggestions.

Read more here: Source link