Skip to content

Commit 34f37d2

Browse files
committed
tweak: urls for oauth in prod
1 parent 80700b6 commit 34f37d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/core/providers/supabase_provider.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ class SupabaseService extends StateHandler {
137137
// For desktop, usually 'http://localhost:port' or similar is used.
138138
final String? redirectUrl =
139139
kIsWeb?
140-
// ? 'http://cookethflow.cookethcompany.xyz/dashboard' // For web development
141-
'http://localhost:3000/dashboard'
140+
'http://cookethflow.cookethcompany.xyz/dashboard' // For web development
141+
// 'http://localhost:3000/dashboard'
142142
: (Platform.isAndroid || Platform.isIOS
143143
? 'myapp://login-callback/'
144144
: null); // For mobile/desktop
@@ -163,8 +163,8 @@ class SupabaseService extends StateHandler {
163163
try {
164164
final String? redirectUrl =
165165
kIsWeb?
166-
// ? 'http://cookethflow.cookethcompany.xyz/dashboard'
167-
'http://localhost:3000/dashboard'
166+
'http://cookethflow.cookethcompany.xyz/dashboard'
167+
// 'http://localhost:3000/dashboard'
168168
: (Platform.isAndroid || Platform.isIOS
169169
? 'my.scheme://my-host'
170170
: null); // Replace with your actual scheme

0 commit comments

Comments
 (0)