ozzieozumo / tnt

TNT Team Tracker App for iOS
0 stars 0 forks source link

user pool login screen shown for new install #65

Open ozzieozumo opened 6 years ago

ozzieozumo commented 6 years ago

The login methods screen should be shown for a new install, instead the user is taken immediately to the user pool login screen (and the buttons appear as blank in this case only).

Something must be wrong in the silent login phase logic caused by information retained in the key chain. Like the last login method was "user pool" so it tries to login again, which causes the interactive login delegate to be activated.

ozzieozumo commented 6 years ago

Really not sure why this is happening. Last login method is remembered (as user pool) but the token is invalid, so the silent login should fail and the interactive delegate should not be set.

Maybe this is a case where the user should be taken to the user pool login screen with the last known user name remembered but have to enter the password.