2

在以可编程方式从 ADAL 关闭 webveiwcontroller 后,我遇到了以下问题,下次我重新启动登录流程时,出现以下错误:

error=Error with code: 13 Domain: ADAuthenticationErrorDomain ProtocolCode:(null)
Details:The user is currently prompted for credentials as result of another acquireToken request.
Please retry the acquireToken call later..
Inner error details: Error Domain=ADAuthenticationErrorDomain Code=13
"The operation couldn’t be completed. (ADAuthenticationErrorDomain error 13.)"

如果我完全关闭应用程序并重新打开它,登录流程将再次起作用。这是一个已知问题吗?有什么办法可以解决这个问题?

谢谢

4

1 回答 1

3

您应该调用 ADAuthenticationBroker->cancel 以确保正确释放所有锁。

于 2015-01-08T19:57:51.670 回答