odnoklassniki / ok-android-sdk

Android SDK & samples for native apps integrated with OK.RU
Apache License 2.0
20 stars 28 forks source link

Authorization activity doesn't finish if account gets changed via Google #21

Closed lidaamber closed 7 years ago

lidaamber commented 7 years ago

Steps to reproduce:

  1. Call requestAuthorization() method to open OkAuthActivity
  2. Click change account to open login screen
  3. Click forgot my password
  4. Click Sign in with Google
  5. Sign in successfully
  6. See the OK feed screen, not initial activity. Clicking back button leads to cancelling authorization or retrying it.

Same for the first sign in via Google. I don't have OK application on the test phone (maybe it matters).

lintax commented 7 years ago

Please update the SDK. We will retry OAUTH in such scenario, this should work perfectly with no extra screens, etc.