Louis Deconinck
Louis Deconinck
Explore posts from servers
WWasp-lang
Created by Louis Deconinck on 5/30/2024 in #đŸ™‹questions
git merge upstream/main
So I executed these commands as provided in the OpenSaas Docs: git remote add upstream https://github.com/wasp-lang/open-saas.git git fetch upstream git merge upstream/main With the last command I get this error: fatal: refusing to merge unrelated histories
8 replies
WWasp-lang
Created by Louis Deconinck on 5/5/2024 in #đŸ™‹questions
Dummy Email Provider OpenSaas
I will only be using Google OAuth for authentication and no email authentication (OpenSaas). Do I still need a email provider? The docs (https://docs.opensaas.sh/guides/email-sending/) state the following: "Note that your app will not build if using the Dummy provider and you must switch to a production-ready provider in order to do so."
11 replies
WWasp-lang
Created by Louis Deconinck on 5/3/2024 in #đŸ™‹questions
checkStripePortalLInkExists in shared/constants.ts
I'm using OpenSaas with with wasp 0.13.2 and WSL2. The documentation (https://docs.opensaas.sh/guides/stripe-integration/) says to add this code to the src/shared/constants.ts file:
const customerPortalTestUrl = 'https//billing.stripe.com/p/login/test_...'
const customerPortalProdUrl = undefined

export const STRIPE_CUSTOMER_PORTAL_LINK = isDev ? customerPortalTestUrl : customerPortalProdUrl;

checkStripePortalLinkExists(STRIPE_CUSTOMER_PORTAL_LINK); // throws an error if the link is not set in production
const customerPortalTestUrl = 'https//billing.stripe.com/p/login/test_...'
const customerPortalProdUrl = undefined

export const STRIPE_CUSTOMER_PORTAL_LINK = isDev ? customerPortalTestUrl : customerPortalProdUrl;

checkStripePortalLinkExists(STRIPE_CUSTOMER_PORTAL_LINK); // throws an error if the link is not set in production
isDev and checkStripePortalLinkExists are not defined and throw an error.
9 replies
WWasp-lang
Created by Louis Deconinck on 5/2/2024 in #đŸ™‹questions
Remove email login
Is it possible to only rely on OAuth and disable email login when using OpenSaas? When I comment out the email method (with verification and reset), I get a build error. Wasp 0.13.2 WSL2
33 replies