Louis Deconinck
Louis Deconinck
Explore posts from servers
WWasp-lang
Created by Louis Deconinck on 5/5/2024 in #đŸ™‹questions
Dummy Email Provider OpenSaas
@Wasp Team Kapa gives this as a reason why I still need an email provider: "This is because Wasp uses the email provider for features like email verification and password reset flows.". However I'm explicitly only using Google OAuth, so I assume that does not apply to me. Do I still need an email provider for using OpenSaas (the docs say I do, but I just don't know why).
11 replies
WWasp-lang
Created by Louis Deconinck on 5/3/2024 in #đŸ™‹questions
checkStripePortalLInkExists in shared/constants.ts
@Wasp Team Any idea how to deal with missing isDev and checkStripePortalLinkExists in sec/shared/constants.ts file when following OpenSaas docs. Do we have to implement these functions ourselves? Like this?
const development = true;

// isDev function checks if the current environment is development
function isDev() {
return development;
}

// checkStripePortalLinkExists function checks if the Stripe portal link exists
function checkStripePortalLinkExists(link: string | undefined) {
if (!link) {
throw new Error("Stripe customer portal link is not set");
}
}
const development = true;

// isDev function checks if the current environment is development
function isDev() {
return development;
}

// checkStripePortalLinkExists function checks if the Stripe portal link exists
function checkStripePortalLinkExists(link: string | undefined) {
if (!link) {
throw new Error("Stripe customer portal link is not set");
}
}
9 replies
WWasp-lang
Created by Louis Deconinck on 5/2/2024 in #đŸ™‹questions
Remove email login
@Wasp Team I'm using OpenSaas and would like to use only Google OAuth. What is the best way to go about that? Here's what I did: - Removed Email auth in wasp.main - Removed Email pages under src/client/auth - Removed Email routes from wasp.main Is this the recommended way to go about this? After doing that, my app compiles correctly and seems to function correctly (including login and logout). I do get some console log warnings (see message above), but not sure if those are related or something to worry about?
33 replies
WWasp-lang
Created by Louis Deconinck on 5/2/2024 in #đŸ™‹questions
Remove email login
@kapa.ai So I commented out these routes: RequestPasswordResetRoute, PasswordResetRoute & EmailVerificationRoute. Now there are no errors when compiling and my website shows up. However I still get quite some console log errors. Are these normal?
Uncaught SyntaxError: Unexpected end of input
script.js:1


Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
script.local.js:1


Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
react-dom.development.js:29895 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
react-jsx-dev-runtime.development.js:87 Warning: Each child in a list should have a unique "key" prop.

Check the render method of `LandingPage`. See https://reactjs.org/link/warning-keys for more information.
at figure
at LandingPage (http://localhost:3000/@fs/home/louis/projects/skoolanalytics_opensaas/skool-analytics/app/src/client/landing-page/LandingPage.tsx?t=1714721150425:34:47)
at Route2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2502:29)
at Switch2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2646:29)
at div
at div
at App (http://localhost:3000/@fs/home/louis/projects/skoolanalytics_opensaas/skool-analytics/app/src/client/App.tsx?t=1714721150425:24:31)
at Router2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2215:30)
at BrowserRouter2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2763:35)
at QueryClientProvider (http://localhost:3000/node_modules/.vite/deps/@tanstack_react-query.js?v=06358fa4:2847:3)
printWarning @ react-jsx-dev-runtime.development.js:87
Show 1 more frame
Show less
react-dom.development.js:86 Warning: Invalid DOM property `fill-rule`. Did you mean `fillRule`?
at g
at svg
at div
at div
at div
at main
at div
...
Uncaught SyntaxError: Unexpected end of input
script.js:1


Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
script.local.js:1


Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
react-dom.development.js:29895 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
react-jsx-dev-runtime.development.js:87 Warning: Each child in a list should have a unique "key" prop.

Check the render method of `LandingPage`. See https://reactjs.org/link/warning-keys for more information.
at figure
at LandingPage (http://localhost:3000/@fs/home/louis/projects/skoolanalytics_opensaas/skool-analytics/app/src/client/landing-page/LandingPage.tsx?t=1714721150425:34:47)
at Route2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2502:29)
at Switch2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2646:29)
at div
at div
at App (http://localhost:3000/@fs/home/louis/projects/skoolanalytics_opensaas/skool-analytics/app/src/client/App.tsx?t=1714721150425:24:31)
at Router2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2215:30)
at BrowserRouter2 (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=439057e1:2763:35)
at QueryClientProvider (http://localhost:3000/node_modules/.vite/deps/@tanstack_react-query.js?v=06358fa4:2847:3)
printWarning @ react-jsx-dev-runtime.development.js:87
Show 1 more frame
Show less
react-dom.development.js:86 Warning: Invalid DOM property `fill-rule`. Did you mean `fillRule`?
at g
at svg
at div
at div
at div
at main
at div
...
33 replies
WWasp-lang
Created by Louis Deconinck on 5/2/2024 in #đŸ™‹questions
Remove email login
@kapa.ai I'm using OpenSaas. Where in my project folder can I find the router.tsx file?
33 replies