feat(auth): add Google sign-in support for cloud environment

This commit is contained in:
Mauricio Siu
2025-03-01 21:30:30 -06:00
parent 0ad9233087
commit a3362e0b15
4 changed files with 77 additions and 14 deletions
+9
View File
@@ -310,6 +310,15 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) {
const token = query.token;
// if (IS_CLOUD) {
// return {
// redirect: {
// permanent: true,
// destination: "/",
// },
// };
// }
if (typeof token !== "string") {
return {
redirect: {