microsoft-authentication-extensions-for-dotnet
microsoft-authentication-extensions-for-dotnet copied to clipboard
Secure cross-platform token cache for MSAL public client apps
By default when an application creates a macOS Keychain item the access control list contains the calling application's identity. This prevents those allow/deny/always allow security prompts when the _same application_...
When executing the following code on an application targeting .net 5 and the linux-x64 runtime and running on WSL (Ubuntu) ``` var storageProperties = new StorageCreationPropertiesBuilder( ".msalcache.bin", _directory) .WithCacheChangedEvent(_config.ClientId) .Build();...
When running the following code in an azure function environment: ``` var storageProperties = new StorageCreationPropertiesBuilder(_cacheFileName, MsalCacheHelper.UserRootDirectory).Build(); MsalCacheHelper cache = await MsalCacheHelper.CreateAsync(storageProperties).ConfigureAwait(false); ``` I hit the following exception: ``` Exception:...
Taking to account that file locks are not completely reliable on non Win platforms, It would be nice to implement following features to be race conditions resilient: - Switch file...