Make correlation ID consistent throughout a flow, meaning all API request in a scenario should use the same correlation ID
Correlation ID is taken from API request headers, rather than request body (as it's only present in the body in case of errors, whereas we need it always).
Add it to logging
Add it to CommandParameters
Note:
This PR doesn't contain tests that validate the correlation ID using the mock API. When we introduce automated tests on production environment, tests for correlation ID should be added.
Make correlation ID consistent throughout a flow, meaning all API request in a scenario should use the same correlation ID
Note: This PR doesn't contain tests that validate the correlation ID using the mock API. When we introduce automated tests on production environment, tests for correlation ID should be added.
PR for MSAL: https://github.com/AzureAD/microsoft-authentication-library-for-android/pull/2007