Common functionality for retrieving azure-ad token from gcp.
AzureAdTokenProvider cashes and retrieves token for you. AzureAdTokenProvider require a AzureAdConfig to properly communicate with the tenant.
AzureAdEnvConfig retrieves the necessary information from the environment. Use azure and accessPolicy in the yaml file to mount the environment variables needed (https://doc.nais.io/security/auth/azure-ad/).
- Make a springboot compatible version of AzureAdConfig.
- Handle more than one scope.
- Make more and better tests.