Function to validate access token received from azure active directory. Useful when you're using a msal library to authenticate users on the frontend and you wanna verify Microsoft tokens in the API.
Fork of validate-azure-ad-token with added support for azure b2c
Function to validate access token received from azure active directory. Useful when you're using a msal library to authenticate users on the frontend and you wanna verify Microsoft tokens in the API. THIS VERSION WORKS WITH CLIENT_CREDENTIAL FLOW.