I have an application which is sitting behind WAF (Web Application Firewall).
Application is using Microsoft Active Directory for authentication.
Here are the steps
- User try to access the application using the browser.
- WAF layers see that REQUEST is not authenticated, hence forward it to Azure Active Directory
- AAD shows the login page and the user enters username/password/MFA
- Now token from AAD send back to the browser and it will be sent to the backend application
Now question is,
- How backend application verify this token? Does it need an outbound connection to AAD or will it talk to AAD through WAF and browser?
- Do I need to have NSG rules (outbound ) to talk with AAD?