更新时间:2023-02-15 07:57:23
通过替换以下代码解决了此问题(此文件)
Solved by replacing this code (lines 152 and 212 of this file)
authContext.AcquireTokenAsync(todoListResourceId, clientId, uc)
与此一起
authContext.AcquireTokenAsync(todoListResourceId, clientId, new Uri("http://TodoListClient-Headless"), new PlatformParameters(PromptBehavior.Auto)).Result