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 9, 2020. It is now read-only.
The logout functionality is not shown in any samples as compared to that of AuthBot.
On seeing the code, this function does the logout
publicasyncTaskLogout(AuthenticationOptionsauthOptions,IDialogContextcontext){context.UserData.RemoveValue($"{this.Name}{ContextConstants.AuthResultKey}");context.UserData.RemoveValue($"{this.Name}{ContextConstants.MagicNumberKey}");context.UserData.RemoveValue($"{this.Name}{ContextConstants.MagicNumberValidated}");stringsignoutURl="https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri="+System.Net.WebUtility.UrlEncode(authOptions.RedirectUrl);awaitcontext.PostAsync($"In order to finish the sign out, please click at this [link]({signoutURl}).");}
But on calling it, and clicking the link replied back, I get the following error message in browser:
The text was updated successfully, but these errors were encountered:
The logout functionality is not shown in any samples as compared to that of AuthBot.
On seeing the code, this function does the logout
But on calling it, and clicking the link replied back, I get the following error message in browser:
The text was updated successfully, but these errors were encountered: