You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.
ADAuthenticationError error;
var authenticationContext = ADAuthenticationContext.AuthenticationContextWithAuthority(IdentityAuthority, out error);
authenticationContext.TokenCacheStore.RemoveAllWithError(out error);
var cookies = NSHttpCookieStorage.SharedStorage.Cookies.ToList();
foreach (var cookie in cookies)
{
NSHttpCookieStorage.SharedStorage.DeleteCookie(cookie);
}
After logout Login page is not showing and giving the following error
The user is currently prompted for credentials as result of another acquireToken request. Please retry the acquireToken call later.
Error is on this line
await authenticationContext.AcquireTokenWithResourceAsync(targetServerUrl, Id, redirectUri);
But if i close the application and reopen it login page successfully showing without any error
Have any idea about this
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am Logout using the following Code
ADAuthenticationError error;
var authenticationContext = ADAuthenticationContext.AuthenticationContextWithAuthority(IdentityAuthority, out error);
authenticationContext.TokenCacheStore.RemoveAllWithError(out error);
var cookies = NSHttpCookieStorage.SharedStorage.Cookies.ToList();
foreach (var cookie in cookies)
{
NSHttpCookieStorage.SharedStorage.DeleteCookie(cookie);
}
After logout Login page is not showing and giving the following error
The user is currently prompted for credentials as result of another acquireToken request. Please retry the acquireToken call later.
Error is on this line
await authenticationContext.AcquireTokenWithResourceAsync(targetServerUrl, Id, redirectUri);
But if i close the application and reopen it login page successfully showing without any error
Have any idea about this
The text was updated successfully, but these errors were encountered: