How to use user secrets in a dotnet core test project

See instructions in https://patrickhuber.github.io/2017/07/26/avoid-secrets-in-dot-net-core-tests.html, in particular in InitialiseTest add // the type specified here is just so the secrets library can // find the UserSecretId we added in the csproj file var builder = new ConfigurationBuilder().AddUserSecrets<HttpClientTests>(); Configuration = builder.Build() However note that it will not allow to run tests on build server

why do I get “Invalid appsecret_proof provided in the API argument”

The error is (based on my experience) almost certainly correct; it means you’re proving an invalid appsecret_proof with your API call Assuming you’re using the standard PHP SDK without modifications, the most likely reasons for this are: You configured the wrong app ID in the SDK code You configured the wrong app secret in the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)