Azure-Samples / Azure-Samples/ms-identity-android-kotlin
Clicking home button in middle of a sign in process, and try to sign in again. No sign in screen is opening
- Dominant language
- Kotlin
- Stars
- 49
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
We made this app a default launcher by changing the manifest file where we added for MainActivity. Now in the app we hit the sign in button. When it opens the MS sign in screen, I hit the home button which navigates back to the home screen of the launcher. When the sign in button is clicked again, nothing is happening.
In our app(which happens to be a launcher too):
We have a launcher developed in Kotlin where we have integrated Microsoft Sign in. When we click on the sign in button and it goes to Microsoft Sign-in page, we click on the android home button. Again, from Home Screen if we try to sign in, it does nothing (shows a loader as per the code while trying to open Microsoft sign-in page). It seems that upon clicking on home button, the Microsoft sign-in page instance is not getting closed/deleted, which results in no error and the screen keeps loading
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with MainActivity and the manifest launcher configuration, then reproduce the sign-in, Home-button, and second sign-in sequence described in the issue. Trace the Microsoft sign-in flow and its loading state to determine why the second attempt does not open the sign-in screen. Done means sign-in can be started again after returning home during an in-progress attempt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100