var result = Task.Run(async () => await configManager.GetConfigurationAsync()).ConfigureAwait(false);
OpenIdConnectConfiguration config = result.GetAwaiter().GetResult(); Or use this:
var result=result.GetAwaiter().GetResult().AccessToken var result = Task.Run(async () => await configManager.GetConfigurationAsync()).ConfigureAwait(false);
OpenIdConnectConfiguration config = result.GetAwaiter().GetResult(); Or use this:
var result=result.GetAwaiter().GetResult().AccessToken