Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User cancelled flow #1038

Open
jinpengnice opened this issue Jan 26, 2024 · 2 comments
Open

User cancelled flow #1038

jinpengnice opened this issue Jan 26, 2024 · 2 comments
Labels

Comments

@jinpengnice
Copy link

Authorize custom tags by opening them in the upper right corner of the browser for authorization. Upon returning to the app, a prompt appears: AuthorizationException: {"type": 0, "code": 1, "errorDescription": "User cancelled flow"}. However, I did not cancel the authorization and simply replaced the custom tag with a browser. Opening the browser does not result in the correct result

@anhquan291
Copy link

anhquan291 commented Feb 11, 2024

Hi I'm facing the issue that there is no callback after cancelling the browser.
Have you found the way yet @jinpengnice ?
Really appreciated if anyone can help with this. Thanks a lot

@sanlee888
Copy link

Steps to reproduce it:

  1. Calling AuthorizationService.performAuthorizationRequest(authRequestBuilder.build(), completeIntent, cancelIntent)
  2. In the new version of CustomTab, there is a new "minimize" icon right next to the "X" icon. That is for the picture-in-picture mode. Click on that "minimize" icon, so now the customTab is in PIP mode.
  3. Our app receives "cancelIntent" with AuthorizationExeception.
  4. Restore CustomTab from PIP mode to normal mode.
  5. User continue the login flow, but app won't receive "completeIntent".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants