@User by logging out, do you mean logging out via selfservice? If yes, I believe what is happening is that your google account is still logged in on the browser and when the sso is triggered that's the one google is passing straight to kratos. And since it is an already existing account, it proceeded with login. Try fully logging out both in selfservice and the google account itself.