Wasp

W

Wasp

Join the community to ask questions about Wasp and get answers from other members.

Join

Anyone used Mailjet before?

I've used Mailjet & Mailgun in other projects, and was wondering if anyone's used either (instead of Sendgrid) with Wasp.

Generate Email Verification Link/ SendVerificationEmail function

Hello guys , is there a way to generate email verificationLink ? i created a custom signup action , i want to generate a verificationLink to send it as an email using emailSender or even better if there is a function i can call in my actions like sendVerificationEmail or something.

Users get logged out automatically

Users get logged out automatically and I can't really see the issue. In the Chrome Browser tools, it gives me these error messages: index-DyjaD6qb.js:90 TypeError: Cannot read properties of undefined (reading 'length') at onAccept (index-DyjaD6qb.js:90:21778)...

Github actions error with wasp in /app

Here is my github action file: name: Deploy to Fly on: push:...

useColorMode hook

im using the the userColorMode hook inside the App.tsx : app/src/client/App.tsx , using it to change the An Design ConfigProvider theme to dark mode when the colorMode state change. but the problem is App.tsx doesn't render when the colorMode changes , is that normal or am i doing something wrong ?...

Service accounts for authenticated calls

following the standards used for opensaas i have created a bunch of operations that first check if its an authenticated user making the call. i.e: ``` if (!context.user) { throw new HttpError(401, 'User not authenticated');...

postgresql extention support on fly.io using wasp deploy cli

Hey! has anyone had any luck using pgvector or installing any additional extentions on a fly.io database? what would be ideal is if i can use the wasp cli to specify a custom docker image with pgvector installed during wasp deploy. or does anyone have a better workaround?

Ant Design Modal

Guys when i use the Ant Design Modal and put Ant Design inputs inside it , their CSS is messed up for some reason , but when i used the inputs normaly in pages they work fine. anyone have a guess on why that might happen?

Amazon SES API support for email

Hi there, I'm implementing a saas application with WASP that I'll deploy in AWS. I want to use Amazon SES for emails. I know that I can use SMTP with WASP to send emails using SES, but there are some limitations with SES SMTP. I also know that SES API integration is not there out of the box. So, the question is, can I somehow override the email sending functionality and implement the SES API myself? I would love to add this feature back to the framework as well, but for now, I'd need a way to be able to use custom code for email sending without disrupting anything else....

Preventing wasp server recompiling when new files created in /public

Hi, i'm developping an app that generates wav files in /public/audio/tmp directory. But each time I generate a file, my wasp server is recompiling. How can I exclude the /public directory, or the .*wav files from making the server recompiling ?

Didn't do anything new. My app broke, and it's hard to determine why auth isn't working anymore

Testing locally. Cleaned the db. Re-seeded. wasp start and the non-authenticated pages work like Login, but when I log in successfully, the auth'd pages break. Was there a dep upgraded behind the scenes that broke something? I'm unfortunately at a loss....

How to set a different meta tag in the head depending on the page

I would like to create some sort of dynamic open graph tags. I will briefly explain the use case to make it obvious: I've got a webapp to generate action figures. I want people to share their action figures in URLs like this (https://tufiguradeaccion.com/guest-figure/8258a638-0416-4b62-a720-1e116d004d5a) and for them to see the Open Graph tags with the action figure as the image. I've been researching and I've found that there is no support for SSG. I understand ... I was wondering if there is any workaround or something I can do. I hear the approach is to use "react-helmet-async" but I don't know how to start ... is there any sample repo where I can get inspiration from?...

How to not show fly.io domain on google search

Is there anyone that knows a way such that the fly.io domain is not shown in a google search? i have setup my custom domain..

CapacitorJS & Wasp

I want to know if anyone has played around with CapacitorJS and turning a Wasp app into a mobile app. Technically I know how to make it work, but I just wanted to see if anyone else has experience before I LEROY JENKINS my way into it

STRIPE PLAN ID is sent to checkout request as Price

guys i created 3 products in Stripe test , and set my 3 env variables : PAYMENTS_HOBBY_SUBSCRIPTION_PLANID=prod...., PAYMENTS_PRO_SUBSCRIPTION_PLANID=prod..., PAYMENTS_CREDITS_10_PLANID=prod... ...

Email Verification SMTP not working

I tried MailGun API /SMTP and tried Brevo SMTP , when i try to send email using swaks command it works , but on the app it does not work ( not in dev nor production ). when i try to signup i get status 200 but no email sent....
No description

Call custom api externally

I created a custom API that sends data to a database, and I want to call it from another application. I used fetch() to post the data, and got a 401 (unauthorized) as expected. I know I need to send a token or something in the header. How do I do that?

How can I access a raw request?

I added a new endpoint (Wasp action). Inside my operation, I want to access a raw request and check the request header value. I couldn't find a way to do this. I tried to access the request from the Wasp context, but it is not there. This is how I define wasp action: action incrementStats { fn: import { incrementStats } from "@src/ai-forms/operations",...

Is there already been an update on admin dash?

I want to know if three already are some improvements on admin dash, i am behind a bit. Also i want to know where i can see page visits etc that type of data. I use google.
Next