Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add custom redirect to GH OAuth

Tomas Valentac16e52f60398
diff --git a/pages/sign.tsx b/pages/sign.tsx
index db85ba194..71f080884 100644
--- a/pages/sign.tsx
+++ b/pages/sign.tsx
@@ -26,6 +26,7 @@ function SignIn() {
await supabaseClient.auth.signInWithOAuth({
provider: 'github',
options: {
+ redirectTo: window.location.href,
scopes: 'email',
}
})