Can you elaborate a bit on your specific use case here? Are you attempting to alter anything about the ID token when obtaining a new one? What exactly do you need a new ID token for?
I am currently logged in with Google. Now, I want to open a popup to log in or sign up with a different account. If successful, I aim to obtain the ID Token. Before calling the endpoint to link this account to my existing one, I plan to conduct some checks in my backend. However, if my backend rejects this link and I refresh the page, the account that appears as currently logged in is the one I attempted to link, not my original account.