Hello,
Welcome to our Microsoft Q&A platform!
I just want to take down the page
The OnCancelled
command can used to hide the dialog, try to call the method in the Error event to perform the work.
authenticator.Error += (s, e) =>
{
OAuth2Authenticator auth2 = (OAuth2Authenticator)s;
auth2.OnCancelled();
};
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.