alexziskind1 / nativescript-oauth2

Other
85 stars 93 forks source link

Problem related to nativescript redirect after login process #162

Open eduardocalixtokorp opened 3 years ago

eduardocalixtokorp commented 3 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

nativescript-oauth2@3.0.5

I would appreciate any help, mainly because we're publishing our app as soon as possible

juniorschen commented 3 years ago

@eduardocalixtokorp I experienced the same problem, but it only occurred on android versions < 10. Unfortunately it's not a good margin to cut android 8 and 9 yet...

eduardocalixtokorp commented 3 years ago

In the gif below, I show the process in angular demo. final_60b62df657305100f865d2d3_596217

  1. I click in logout button, then logout page loads and closes (logout happened)
  2. I try to login over again (filling my login/password and confirming login)
  3. LoginWithCompletion is called back and a navigation event happens, but the screen doesn't change at all.
  4. I try to click on login button over again, but even if callback was called, nothing happens again

PS: Sorry for editing it, but I can't show anything related to url/login server PS 2: I am using Identity Server to test it in this example.

eduardocalixtokorp commented 3 years ago

@eduardocalixtokorp I experienced the same problem, but it only occurred on android versions < 10. Unfortunately it's not a good margin to cut android 8 and 9 yet...

Yes, it's the same for me. Only happens in 7, 7.1 and 8. I didn't test it in < 7 versions