Wasp

W

Wasp

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

Join

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.
No description

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:
- 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.
I've already run wasp clean, and have changed my wasp version in my main.wasp file to be 0.15.1...

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...
No description

Custom database is active and accepting connections but I cannot start the project

I am using "wasp start" and "wasp db migrate-dev" since it is a new fresh database. How to get it started as there is no documentation regarding this

How can I modify getVerificationEmailContent to support language-based email content?

Hello everyone, I'm using Wasp's built-in authentication and have configured email verification in my main.wasp file. The functions getVerificationEmailContent and getPasswordResetEmailContent currently only accept an object with a verificationLink. However, I would like to send emails in different languages based on a language field stored in one of my database tables. I've reviewed the documentation but couldn’t find a way to pass an extra parameter (e.g., the user's language) to these functions or to dynamically choose the email content based on the language. ...

Help needed: Cannot find module '@wasp/auth'

🚨 Help needed: Cannot find module '@wasp/auth' Hi everyone, I'm having trouble compiling my Wasp project, and I keep getting errors related to @wasp/auth. 🔴 Error messages:...

Set cookies in response headers

I want to set a third party cookie in response headers for a action or query. How can I achieve this

Deploying Wasp on Railway using SupaBase

Hey everyone. I have fully built my saas app using the open saas template and now was to deploy it using Railway. I am having a hard time getting it to deploy successfully. Has anyone else launch on Railway with SupaBase ? Thanks in advance Currently the error I am getting in Railway after deploying is : Starting Container...

Set-up Hosting SAAS Wasp on Digital Ocean

Hey all! I'm trying to set-up the basic Open SaaS Wasp application on Digital Ocean. I was able to get it running locally without any issues. I got the base version running from the "Getting Started" page locally. Saved that app on GitHub. Now I want to use the GitHub repo as a source for a Digital Ocean App Platform....

Multitenant

I am contemplating on vibe coding a multitenant saas with multiple subdomains, so basically for teams. The built in auth for opensaas has scant ways on how to achieve that, and my tries are just error ridden. any elegant way of doing that?

email verification

Hi, I have a wasp + open saas setup with a sendgrid api key to handle email verification, but I do not see any confirmation of emails being sent in the wasp terminal, nor do I see any emails in my inbox. I have setup the sendgrid account according to instructions. I also can't see that the sendgrid::setApiKey() is being called anywhere. I'm running the website locally in dev mode (wasp start)....

Best way to make local dev project accessible on my mobile in local network?

I'd like to test my WASP app on my mobile browser, and I am able to reach the frontend, but naturally it fails when it needs to perform and backend operation. What would be the proper way to configure it in WASP?

/app/src/client VS /app/src/server?

tldr; I'm struggling to understand what files (if any) should be in the /server vs the /client directory. Best practices? Security implications? Hi there, ...

error in main.wasp when PrismaSchemaFolder active.

Hello guys, I'm having the "Type error: Unidentified identifier: User typecheck" line 34 from main.wasp in "userEntity: User," I'm pretty new at wasp lang, but it all started when I changed to PrismaFolder organization. Any tip?

How to import "Routes" from another file into Main.wasp? If possible.

Hi guys, I'm looking for a way to define Routes in Wasp in a separate file (myroutes.wasp) and then import them into Main.wasp but I can't find anything from the documentation. Does anyone have a suggestion or a solution?...

Logging requestID / correlationID

Hey! I'm interested in your opinion on the best way to correlate all the logs for each request. I am concerned that once an app is deployed in prod, the multiple logs from the server would get mixed up and be difficult to troubleshoot. Is this something you have already dealt with in a WASP app?...