static image reference in main.wasp
how do i reference static images in main.wasp?
I want to populate the head property with some meta tags, that reference an image i have stored in app/src/client/static.
i tried the below approach, but this did not work...
Encrypting email address in db with Email Auth
Wasp/OpenSaas newbie here. I've privacy conscious users and want to show I'm taking steps to protect stored personally identifiable information. This means encrypting their login email address in the DB.
Is there a way to do this by injecting custom logic/overriding functions in the right places in the email auth provider so I'm not covering the same ground? Or am I going to have to write a whole auth flow to do what I want?
I'd like users to still able to easily request a password reset and stuff, which is why I don't want to swap to the username auth. I think the overall approach should work because any time we need to email the user, they're inputting their email address anyway....
Change LoginSignupForm
Hey there, how can I change the UI for the Login/Signup form in WASP (the built-in one) .
Has there been any work done to SEO optimize the OpenSaaS landing page?
Specifically, I'm wondering if there's any projects that have done the following:
- Set up sitemap generation
- Configure robots.txt
- Implement schema markup...
Property does not exist on type
I'm missing something adding new vars in 0.16.2?
(was already declared in the template)
`const openaiApi = new openai.OpenAI({
apiKey: env.OPENAI_API_KEY,...
Best practices to verify files before uploading to S3?
I want users to upload pdf files and i want to verify the integrity of those files and their content before uploading but i don't know how, what are the best practices to do so?
Setting up Cors in 0.16.0
I had cors middleware config working in 0.14.0. No longer working after upgrading to 0.16.0. How do I set up cors config to work with lates WASP version?
Generate User API Key for external calls
How a user in my app could create a token to make API calls from the outside?
is there a way how to trigger the socket.io in action
i want to have action and also a way to trigger websocket or socket.io just by triggering the action and not action or socket.io/websocket
Best way to implement custom LDAP authentication in Wasp
Hi everyone,
I’m considering implementing a custom authentication method in Wasp using LDAP, but I’m not sure if it’s the right approach. I know that Wasp provides built-in authentication, and I’ve seen that there’s an
onBeforeLogin
hook that I could potentially use for this with the usernameAndPassword
-method. However, that feels like a bit of a hack, and I’d rather follow a proper approach if one exists. Can someone guide me in the right direction?...Mobile app
Wasp: 0.13.x
Hello, I am planning to make a native app for my platform, and since actions and queries relies on context, I am not sure if there is a way to be able to make it as API calls, so it can be implemented in a native mobile app.
Any idea how could this be done? The platform uses lots of actions and queries. Would be the only solution to make API calls for each one of the actions and queries already implemented?...
Email does not work after deployment
I have tried Mailgun, Sendgrid, and SMTP (from Sendgrid). All of these options send email just fine on my local machine. Once I deploy to Fly.io, no emails get sent.
I have ensured all server environment variables are set through Fly.io secrets. I have verified they are there. I have re-deployed many times after setting the secrets. Nothing seems to have any effect whatsoever.
I get no errors from the client side, and no network errors....
google auth
i ve issues with google auth setup
http://localhost:3001/auth/google/callback
how to this really works cause me doesn't reach ???1!!!!
This site can’t be reached
localhost refused to connect....
Attaching DigitalOcean database
I am trying to attach a DigitalOcean database but I get the following error:
...
2025-03-13T17:35:01.847 app[287172eb0d0dd8] ams [info] Error: P1010: User `doadmin` was denied access on the database `defaultdb.public
2025-03-13T17:35:01.847 app[287172eb0d0dd8] ams [info] Error: P1010: User `doadmin` was denied access on the database `defaultdb.public
CRUD Type Errors on Compile or Restart
Hello! I am using wasps CRUD functionality but have run into an issue. To successfully compile and start, I have to copy and delete my CRUD declarations from main.wasp and then paste them back once it's compiled and started. Things then work normally until I need to restart again.

How to integrate Swagger UI?
Hi @kapa.ai, can you explain me how can I integrate Swagger UI into a Wasp project? Thanks!
Guide to integrate a new Payment Aggregator
Is there any guide i can follow to integrate a new payment provider?
Issues with upgrading wasp project to v15
I'm trying to update my wasp project up to 0.15.1, the same version I'm currently running on my machine, but whenever I attempt any wasp command (wasp db start or wasp start), I get an error:
I've already run wasp clean, and have changed my wasp version in my main.wasp file to be 0.15.1...
- Wasp requires package "prisma" to be version "5.19.1" in package.json.
- Wasp requires package "prisma" to be version "5.19.1" in package.json.
Google OAuth : Missing required parameter: scope
Hi - I am working on a project locally and Google OAuth suddenly stopped working and shows an error saying “Access blocked: Authorization Error” and “Missing required parameter: scope”
It worked fine yesterday and looking through the docs, it seems like the config in code and on GCloud are okay. I am using the
saas
template. Wasp version 0.16.2
. The app starts fine without errors on wasp start
, login with email & password is fine.
Confirmed that the Client ID & secret are .env.server
...