I am using an authentication context in a windows 10 universal app. When I signed in the first time I checked Remember Me and now every time I sign out and try to login, it automatically logs me in without prompting. How do I disable it? You can get the same prompt with:
AuthenticationResult result = await authContext.AcquireTokenAsync(graphResourceId, clientId, redirectURI, new PlatformParameters(PromptBehavior.Auto, false));
Oh I'm silly, it's literally in the parameters:
new PlatformParameters(PromptBehavior.Auto, false);
to
new PlatformParameters(PromptBehavior.Always, false);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.