Skip to content

Commit

Permalink
Fix stupid redirect logic
Browse files Browse the repository at this point in the history
  • Loading branch information
arctixdev committed Dec 22, 2024
1 parent c050034 commit fc3b9f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/(tabs)/redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Redirect() {
}

const appScheme = `echogame://login?access_token=${access_token}`;
const fallbackUrl = `/login?access_token=${access_token}`; // Web login fallback
const fallbackUrl = `/auth?access_token=${access_token}`; // Web login fallback

// Try opening the mobile app
const timeout = setTimeout(() => {
Expand Down
1 change: 0 additions & 1 deletion components/Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const performOAuth = async (setLoading: {
const { data, error } = await supabase.auth.signInWithOAuth({
provider: "google",
options: {
redirectTo,
skipBrowserRedirect: true,
},
});
Expand Down

0 comments on commit fc3b9f6

Please sign in to comment.