wi3land / ionic-appauth

Intergration for OpenId/AppAuth-JS into Ionic V3/4/5
MIT License
95 stars 74 forks source link

Did not go back to the app after login was successful on the Android. #363

Open nguyenvanhau-helios-aavn opened 2 months ago

nguyenvanhau-helios-aavn commented 2 months ago

Currently, my ionic app has a feature to integrate login with SwissID user, below is a case to test:

  1. User login with normal SwissID user -> It works well.
  2. User login with SwissID user has SMS OTP -> It works well.
  3. User login with SwissID user has the SwissID app to confirm login -> It could not go back to the ionic app after login successfully. Here I have 2 behaviors: a. When you allow the confirmation from the SwissID application and then you faster go back to the app -> the login flow will work correctly https://github.com/wi3land/ionic-appauth/assets/154408731/fb8d3f75-147a-4d9b-ba83-7146fdfe3424

    b. When you allow the confirmation from the SwissID application and then you take 4 or 5s or more to go back to the app -> very sure the login flow will work wrongly https://github.com/wi3land/ionic-appauth/assets/154408731/f7728841-874f-43d9-8585-ac8a436d4d0c