For example here's the script for signing up using Google. And like I said it was working fine untill today
<div
onClick={() =>
router.push(
`/api/auth/register?org_code=${KINDE_CLIENT_ORG}&connection_id=${GOOGLE_ID}&post_login_redirect_url=${`${
DEV_ENV
? "http://localhost:3000"
: "https://smxew-web.vercel.app"
}/auth/callback/client`}`,
)
}
className="flex w-full cursor-pointer items-center justify-center gap-2 rounded-full bg-zinc-50 p-2 transition duration-200 hover:shadow-sm"
>
<Image
src={"/google.svg"}
width={24}
height={24}
alt="google-logo"
/>
<p>S'inscrire avec Google</p>
</div>