Handle token refresh for supabase

This commit is contained in:
Will Chen
2025-04-22 23:01:20 -07:00
parent 67e7e73029
commit 922ee7d90a
4 changed files with 108 additions and 12 deletions

View File

@@ -84,6 +84,7 @@ export const SupabaseSchema = z.object({
accessToken: SecretSchema.optional(),
refreshToken: SecretSchema.optional(),
expiresIn: z.number().optional(),
tokenTimestamp: z.number().optional(),
});
export type Supabase = z.infer<typeof SupabaseSchema>;