A few more observations from our debug session. I can reproduce the issue with a backup of my tokens. I had removed .local/share/com...webapp-gmail, and once restarting Gmail the app was starting straight on the login.ubuntu.com page, asking for my user/pass. The issue is that after validating correct user/pass creds, the new URL on login.ubuntu.com is not accepted by the container and re-opened in the browser.
On further inspection, the .config/com...webapp-gmail file which should contain the URL for login.ubuntu.com was not containing it. This means that the SAMLRequest was never being seen by the container code. Otherwise, it would have added it in the config file. Others tried to reproduce the problem with my own credentials backup, but in there case the app was opening on the initial Google login screen, not the 2nd login screen managed by Ubuntu. Finally, I tried removing not only .local/share but also my .cache/com ...webapp-gnail directory. This resulted in the app opening on the initial Google login screen, not the ubuntu one. And as a result, when entering my username on this initial screen and validating, the subsequent SAMLRequest was properly detected and I was able to login and proceed to the Gmail inbox screen without issues nor browser re-directs. So this indicates that the webapp cache, ie webapp-container/oxide cache, contains something like the last URL navigated to. And on app startup, the webview is directly and silently redirected there, without any onNavigationRequest signal being fired. This prevents the SAMLRequest pattern from being detected, and leads to the browser re- directs creating the quite messy user experience. At this stage, we are looking for the cause for this cache and .config file to be out of sync. Normally, if ever the cache contains a login.ubuntu.com url, it should be as a result of an initial login, which should have been detected and added to the .config file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1517102 Title: Gmail webapp account renewal not successful To manage notifications about this bug go to: https://bugs.launchpad.net/webapps-core/+bug/1517102/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
