Can't sign in with different Google account Swift

I have implemented auth0 in a swift app using custom UI everything works fine, but once a users sign in with Google account they can not sign in with another Google account until they reset the device or something. I found this code which lets you clear the session is the only solution i guess,

Auth0
         .webAuth()
         .clearSession(federated: true) { print($0) }

But when i clear session after logout, the sign in popup shows up again which says app want to open auth0.com. Now if i click cancel it just sticks to the previous google account as usual and if i click continue it take me to google sign in but if i sign in an account it take me to accounts.google.com instead of dismissing the browser and signing in.