Hi my supabase.auth.signIn() is not returning anyt...
# help
p
Hi my supabase.auth.signIn() is not returning anything using supabase-js.
s
Can you provide more than just that please as you can use this method with third party providers, magic link, phone and email/password.
I created this post. It has screenshots and my code
s
I can't see where email and password is set in your example code
Ok I can see it's in your request payload
Can you try this without the additional configuration you have for the
createClient
, so just the supabaseUtl and supabaseAnonKey.
p
FYI I added the additional config to make the fx compatible with react-native, Anyways i did remove it and i get following error
Copy code
null Unexpected token o in JSON at position 1
Android Bundling complete 15ms
Unable to symbolicate stack trace: Unexpected token o in JSON at position 1

Cannot read property 'getItem' of undefined
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:173439:43 in SupabaseAuthClient._callee12$
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:25391:18 in tryCatch
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:25564:23 in Generator.invoke [as _invoke]
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:25434:22 in Generator.next
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:172310:68 in <unknown>
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:27488:6 in tryCallTwo
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:27652:14 in doResolve
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:27511:4 in new Promise
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:172289:11 in __awaiter
at http://192.168.1.6:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:173423:15 in SupabaseAuthClient._recoverAndRefresh
@silentworks is it happening with just react native apps ?
s
I don't know as I don't do react native apps