I'm building a next js web application in which users should be able to login with both google or their email and password. I know how to implement email authentication... email and hashed password should be stored in database and a jwt is provided to user. I also know how to implement google OAuth. But how do I implement both in the same site, as google OAuth uses session and email based authentication uses token. Please someone explain me how do I do it?