Distinguish new account signups from logins
The login callback sent to the client should include information that allows distinguishing new account signups from sign-ins with pre-existing known accounts. A query parameter unique to the new account case and another value for it for the sign-in case would be a good way to do this.