Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Exception: user authentication cancelled #225

Closed
deRightDirection opened this issue May 21, 2017 · 1 comment
Closed

Exception: user authentication cancelled #225

deRightDirection opened this issue May 21, 2017 · 1 comment

Comments

@deRightDirection
Copy link

one my own developed uwp-apps shows this error everytime when it tries to sign in to onedrive. The same code for signing in and out for onedrive is used in another app of mine. In this app the proces works perfectly.

i substituted the app-id of the malfunctioning app with the app-id of the app which is working. no difference. So what is going wrong here? I am at the end of my options...

see attached picture as well for information

Summary:

1 c#-class written to sign in and sign out to onedrive
2 uwp-apps use this class
1 one app can sign in perfectly two onedrive with app-ids of both apps
1 one app can't sign in at all to onedrive with all the app-ids

StackTrace:
at Microsoft.OneDrive.Sdk.Authentication.WebAuthenticationBrokerWebAuthenticationUi.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.OneDrive.Sdk.Authentication.OAuthHelper.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.OneDrive.Sdk.Authentication.MsaAuthenticationProvider.d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.OneDrive.Sdk.Authentication.MsaAuthenticationProvider.d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.OneDrive.Sdk.Authentication.MsaAuthenticationProvider.d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at WinUX.CloudServices.OneDrive.OneDriveService.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at WinUX.CloudServices.OneDrive.OneDriveService.d__12.MoveNext()
screenhunter_87 may 21 14 05

@baywet
Copy link
Member

baywet commented Oct 2, 2024

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #259 for more information

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant