Skip to content

rename azure.activedirectory.client-id to avoid triggering AADAuthFilter

Neelesh Thakur requested to merge rename-aadclientId into master

rename azure.activedirectory.client-id setting to avoid triggering AADAppRoleStatelessAuthenticationFilter at start-up. If we enable the Istio with externalized authentication and disabled AADAppRoleStatelessAuthenticationFilter for a service, and include 'azure.activedirectory.client-id' in application.properties than spring auto configuration will trigger AADAppRoleStatelessAuthenticationFilter at startup and cause start-up error.

AAD client Id is required by each service to get a bearer token to call Partition service. This configuration is only utilized for this use-case for now and it will decouple partition service specific requirements from authN/Z

We missed this case while testing partition service integration.

Edited by Neelesh Thakur

Merge request reports