I'm using getAuthorisationURLWithQueryParamsAndSetState in third-party recipe, actually the issue is facing 400 bad request in auth/callback/google page but it automatically successfully redirected to the dashboard page.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).