Logging out of Google entirely using Ionic

I’m experiencing the same thing now.

Previously, making sure that we were logging out, passing the ‘federated’ query param seemed to work, but that has since stopped working. Have you noticed that as well?

I write in Swift for iOS, so that looked like:

let handler: (Bool) -> Void = ...
Auth0.webAuth().clearSession(federated: true, callback: handler)

…and would hit: /v2/logout?federated

Reiterating: this used to work, but no longer works.

Edit:

i.e. The first time the user attempts to sign in using Google, the web page loads, then they need to choose an account (if they have multiple signed in), and then complete sign-in.

The second time they attempt to, the webpage loads, but then instantly dismisses.

Previously, calling v2/logout?federated seemed to make it so that, the second time, the user could log in as someone else, and complete a new sign-in cycle (just like the first time), but this doesn’t seem to be the case anymore.

If I go into the device’s settings and clear the Browser Data & History, that seems to resolve the issue, if that helps with solving this issue in any way.