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

Force new Login Activity, clearing OLD activity.

Open brocktriplets opened this issue 6 years ago • 0 comments

There is a corner case issue when device HOME button is pressed while Custom Chrome Tab Auth UI is displayed.

Issue:

  1. Within Login application, go to the Login UI
  2. Press HOME button (taking user back to the home launcher)
  3. Relaunch Login Application, Login activity will receive Cancel Intent.

This is due to the OnResume of the AuthorizationManagementActivity getting mAuthorizationStarted from the SavedInstance, although this is a new login attempt.

brocktriplets avatar Jul 05 '19 14:07 brocktriplets