Liam Arbuckle
Liam Arbuckle
WWasp-lang
Created by Liam Arbuckle on 6/11/2024 in #đŸ™‹questions
Issue with open saas and supabase
Hi, I'm using 0.13.2 version of Wasp and am trying to use the Open SAAS starter kit with Supabase to handle authentication and user data. I believe I was able to get the authentication working correctly earlier, however now when I try to sign up a user I get an error on the frontend "Request failed with status code 500" In the console, I get the following message:
GET http://localhost:3001/auth/me 401 (Unauthorized)
_0x2ad823.toString._0x21226a.<computed>.<computed> @ VM30:1
dispatchXhrRequest @ axios.js?v=e936e7fc:1513
xhr @ axios.js?v=e936e7fc:1373
dispatchRequest @ axios.js?v=e936e7fc:1590
Promise.then (async)
_request @ axios.js?v=e936e7fc:1854
request @ axios.js?v=e936e7fc:1776
Axios.<computed> @ axios.js?v=e936e7fc:1891
wrap @ axios.js?v=e936e7fc:8
getMe @ useAuth.ts:20
queryFn @ core.ts:41
fetchFn @ @tanstack_react-query.js?v=e936e7fc:974
run @ @tanstack_react-query.js?v=e936e7fc:639
createRetryer @ @tanstack_react-query.js?v=e936e7fc:673
fetch @ @tanstack_react-query.js?v=e936e7fc:1013
executeFetch @ @tanstack_react-query.js?v=e936e7fc:2100
fetch @ @tanstack_react-query.js?v=e936e7fc:2090
refetch @ @tanstack_react-query.js?v=e936e7fc:2075
onFocus @ @tanstack_react-query.js?v=e936e7fc:864
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:1255
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:1254
batch @ @tanstack_react-query.js?v=e936e7fc:706
onFocus @ @tanstack_react-query.js?v=e936e7fc:1253
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:1701
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:475
onFocus @ @tanstack_react-query.js?v=e936e7fc:472
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:460
listener @ @tanstack_react-query.js?v=e936e7fc:429
Show 24 more frames
Show less
VM30:1


POST http://localhost:3001/auth/email/signup 500 (Internal Server Error)
GET http://localhost:3001/auth/me 401 (Unauthorized)
_0x2ad823.toString._0x21226a.<computed>.<computed> @ VM30:1
dispatchXhrRequest @ axios.js?v=e936e7fc:1513
xhr @ axios.js?v=e936e7fc:1373
dispatchRequest @ axios.js?v=e936e7fc:1590
Promise.then (async)
_request @ axios.js?v=e936e7fc:1854
request @ axios.js?v=e936e7fc:1776
Axios.<computed> @ axios.js?v=e936e7fc:1891
wrap @ axios.js?v=e936e7fc:8
getMe @ useAuth.ts:20
queryFn @ core.ts:41
fetchFn @ @tanstack_react-query.js?v=e936e7fc:974
run @ @tanstack_react-query.js?v=e936e7fc:639
createRetryer @ @tanstack_react-query.js?v=e936e7fc:673
fetch @ @tanstack_react-query.js?v=e936e7fc:1013
executeFetch @ @tanstack_react-query.js?v=e936e7fc:2100
fetch @ @tanstack_react-query.js?v=e936e7fc:2090
refetch @ @tanstack_react-query.js?v=e936e7fc:2075
onFocus @ @tanstack_react-query.js?v=e936e7fc:864
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:1255
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:1254
batch @ @tanstack_react-query.js?v=e936e7fc:706
onFocus @ @tanstack_react-query.js?v=e936e7fc:1253
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:1701
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:475
onFocus @ @tanstack_react-query.js?v=e936e7fc:472
(anonymous) @ @tanstack_react-query.js?v=e936e7fc:460
listener @ @tanstack_react-query.js?v=e936e7fc:429
Show 24 more frames
Show less
VM30:1


POST http://localhost:3001/auth/email/signup 500 (Internal Server Error)
I'm running supabase locally at the moment, but in the cloud I still have the same issue Does anyone have any examples of the saas/stripe kit with supabase?
10 replies