Louis Deconinck
Louis Deconinck
Explore posts from servers
WWasp
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
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
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