AppAuth-Android icon indicating copy to clipboard operation
AppAuth-Android copied to clipboard

Ways to fetch exact causes for User Cancelled Flow

Open Android3005 opened this issue 3 years ago • 5 comments

Configuration

  • Version: 0.8.1
  • Integration: (native(Java/Kotlin))
  • Identity provider: (Google, Okta, Gluu, Auth0, KeyCloack, etc)

Description

Hi, we are using AppAuth lib 0.8.1 in our code for achieving SSO. We are seeing a lot many User Cancelled Flow Errors on Android Api-30. Sometimes it is because of browser issues or sometimes the browser just opens and immediately shut down. So kindly suggest how to get the exact cause behind User Cancelled Flow errors through the code itself.

Android3005 avatar Oct 19 '21 14:10 Android3005

I also facing the same issue @Android3005 Any solutions for the same.

mt073 avatar Oct 28 '21 14:10 mt073

@mt073 I am still waiting to hear from the App-Auth team for the solution.

Android3005 avatar Nov 24 '21 19:11 Android3005

Unfortunately I do not understand what you want exactly. You may however go look and debug cancellation in our AuthorizationManagementActivity and if you can be more precise in what data you'd need out of it maybe we can design an API around it.

agologan avatar Nov 26 '21 12:11 agologan

Hi we have a similar problem. AppAuth Lib Version 0.8.1 was fine ,since we use Version 0.10.0 this problem occur

AuthorizationException: {"type":0,"code":1,"errorDescription":"User cancelled flow"} at de.company.oauth.OAuthService.lambda$doUpdateAuthState$31$OAuthService(OAuthService.java:1010) at

skauss avatar Dec 20 '21 09:12 skauss

@skauss have you seen #769 ?

agologan avatar Dec 21 '21 08:12 agologan