CORS issue on content-type: text/event-stream OpenAI
I am using event stream to create an endpoint to stream open ai responses as chunks.
I created a POST endpoint (
/explainer
) to consume it but i am getting cors error when i try to hit from other localhost port. Does anyone know why?
FYI: I had another POST endpoint that content-type is json doesn't have CORS issue though only this endpoint has cors issue. Does anyone know why? ...
Mailgun send email issue
Hi all,
I created a simple backend function for sending emails as so:
import { Email, emailSender } from 'wasp/server/email';
...
google oauth
im using opensaas for my application. if i have the wasp web client env set up with ngrok and i log in with google oauth the application redirects to the ngrok URL after the authentication process, but in google console the authorized redirect URI is http://localhost:3001/auth/google/callback. what is causing this?
How do you access a user's identity through a query?
Context
Myapp is configured to use
usernameAndPassword
auth method.
```javascript
app TodoApp {...Having trouble with installing Wasp
Hey guys, tried to install Wasp with the command from the website :
"curl -sSL https://get.wasp.sh/installer.sh | sh".
Tried with cmd, got an error:
'sh' is not recognized as an internal or external command,...
How to change my nodejs version
Hey guys, can anyone tell me how to change the Node.js version? My local nvm is already on v20, but when building, the Dockerfile always results in version 18.

Wasp PHP declaration config
I was referencing documentation for next release but cant get type hints for pages and api
Here this works
<?php...
Has anyone been able to create a Paddle integration yet?
I've searched for it through the server but couldn't find anything proper. Has anyone done this yet or has anyone got any idea on how to do it? can I just copy paste and modify the Stripe and LemonSqueezy code and check the Paddle docs to figure out how to do it?
app crashed
heres the error
[ Wasp ] Run
npm audit
for details.
[ Client ] Starting npm install
[ Server ] Starting npm installwasp-bin: npm: streamingProcess: chdir: invalid argument (Bad file descriptor)...AWS Cognito (Custom Auth)
Hi we are considering using AWS cognito for authentication. Currently we are using Wasp email + password and Google OAuth but would like to know if it's even possible to do this without having to lose access to context.user, useAuth and similar integrations
Specify node version for fly.io deployment via wasp deploy fly deploy
Seeing this error when my server launches on fly.io
```
2025-05-09T01:22:20.563 app[48ed090ce42e78] sea [info] /app/node_modules/sharp/lib/sharp.js:113
2025-05-09T01:22:20.563 app[48ed090ce42e78] sea [info] throw new Error(help.join('\n'));...
Trouble SSH'ing into Fly.io Frontend App – "user does not exist" & Auth Errors
Hey folks! I'm running into an issue trying to SSH into my frontend app deployed on Fly.io.
And when I run
flyctl ssh console
, I get:
error connecting to SSH server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
...Cannot find helmet
I am trying to had some custom headers, specifically crossOriginOpenerPolicy and crossOriginEmbedderPolicy, according to the docs I should be able to override helmet with a custom middleware. But when I try to import helmet, it can find it. (no problem with cors though)
serverSetup.ts:
import helmet from 'helmet';
...
Intermediate page after signing up
Hello all,
In OpenSaas, after signing up and the verification email with the link is sent, I want to redirect to a page that says something like "an email with the verification link has been sent. Please click on the link to complete the registraiton".
Does such a page already exist? If not, if I build such a page, how do I set it up so that it goes there right after signing up (instead of going to the homepage)?...
Add background checking to app
Hello, I'm building a Saas where users need to be vetted (background check, etc), preferably via a third-party service. Has anyone build such before? If so, what servide did you use, and how did you implement it?
Adding Google Auth to custom Sign in screen
I created my own login component, and enabled Google auth in main.wasp. How do I add the google login to the custom component?
login
I'm developing the new saas template and I want to get logged in (in the development environment). How do I get logged in? I tried signing up with an email and password but that doesn't work.
Wasp client wasn't refreshing
I just had a scenario where I deployed a new version of my wasp app and I had to clear the browser cache to force load the new version. Does wasp have an internal solution that appends a unique identifier in the resulting builds so assets are refreshed every time? If not how to resolve?
Best way of creating a trigger to update a table
I want to create a trigger so I can update a row on a different table when a new row is inserted or update on another table. What's the best way of doing that in a wasp app?