Wasp

W

Wasp

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

Join

Is LS down right now or have I made a mistake?

Hi, I've been working on a project with OpenSaaS and I implemented payment and everything was fine. After adding some other things that didn't touch the payment system at all (I checked every code change manually even though only a small portion was written by AI), I wanted to test it out again. I now get this error that says:...

MCP OAuth login

Hello, I’m trying to set up remote MCP server following this example (https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-google-oauth) and will call WASP API routes when using the tool. Does anyone know if I could use the same google oauth client or not to log in from MCP and passing maybe the access token in the header to get auth user in WASP API endpoint function?

Wasp start db

I'm getting an error when running wasp start bdb ❌ --- [Error] Your wasp project failed to compile: ------------------------------- - The "compilerOptions.typeRoots" field is missing in tsconfig.json, you must set it to: ["node_modules/@testing-library","node_modules/@types"]....

Is there a recommended UI kit for making a simple AI wrapper, similar to CoverLetterGPT?

Total beginner looking to experiment with AI wrappers, need all the help I can get.

Stripe webhook payload not a string/buffer

My OpenSaas application implements Stripe for payment processing. I've followed the steps in the docs, including setting up a middleware to handle calls to the webhook to return raw request (instead of parsed), but when I test it by running "stripe trigger payment_intent.succeeded", I always get the error "StripeSignatureVerificationError: Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the raw request body.Payload was provided as a parsed JavaScript object instead. [ Server ] Signature verification is impossible without access to the original signed material." ...

Network Error On user creation

Hey, so i'm getting "network error" when i try to create a user. The DB is up and running ( as far as i can tell ) and the env varibles have been copied....

Using Opensaas, google auth is not working: OAUth client not found

the error message: Sign in with Google Access blocked: Authorization Error ...

Dynamic SEO Meta Tags with i18n in Wasp?

Currently, the SEO meta information for WASP is statically configured in main.wasp. However, I've integrated internationalization (i18n) into my project. Is there a way to make the meta information change dynamically based on the selected language?

I am getting the following error using OpenSaas, when trying to make a Stripe test payment

{ "error": { "message": "Unrecognized request URL (GET: /). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.", "type": "invalid_request_error" }...

Alternative way to sign the user in

For context: Slack has two OAuth systems in place: - OpenID-compatible one, designed purely for user authentication (“Sign In With Slack”). This is what this PR https://github.com/wasp-lang/wasp/pull/2764 adds to Wasp. - general API access one, designed for issuing bot- and user-tokens. Of course, supported scopes are very different and they also use separate endpoints for receiving access tokens....

Save failed: there was a database error

App created with Mage, error when signup: [ Server!] PrismaClientValidationError: [ Server!] Invalid prisma.user.create()` invocation in [ Server!] /home/rootall/apps/RoadmapBoard/.wasp/out/sdk/wasp/dist/auth/utils.js:78:24...

Issue with DNS/Wasp app deployment to fly.io

Using a mac on macos. I am using wasp version 0.16.4. I am working to deploy my app to fly.io. I can successfully deploy it and access it on the fly dev url. I follow the iinstructions to setup dns link to my custom domain using wasp deploy fly cmd --context client certs create mycoolapp.com. I see in fly.io dashboard my certificate is verified after adding dns records to cloudlflare. The issue I have is I am still not able to access my app through my custom domain. I do see in the fly-clinet.to...

Mongo support?

Hi, I just came across wasp and found it really straightfoward to use. However, when I then tried to move from the todoApp example to consuming some our data, I came across the lack of mongo support 😦 I wanted to use wasp to create nice views into our data, which is already in mongo, so I can't change that. Searching through discord I didn't see questions on Mongo in the last few months so I figured I'd give it a try and see if support is planned for soonish or not. Thanks for the great framew...

How long does it take to compile on WSL2?

I am wondering if I have a misconfiguration. It has been compiling for about ~15 min. Appreciate any feedback!
No description

Redirection after Login / registration

I'm trying to ensure that once we've logged in or our account has been created, we're redirected to the page we were on before arriving at the login/registration form. Are there any ready-made solutions? I can't find any documentation on this subject....

How to create an insanely huge sitemap from our database

So I got a suggestion how to SEO the 💩 of our CMS, by exposing hundreds of thousands of routes based on our index tags (like https://myapp.co/tag1/tag2/tag3/some_media_page) and it occurred to me that I have no idea how to do that with wasp so thought I should throw this out there and see what comes back. 🙂

embedings template

I tried to run the embeddings template and I also set the OPENAI_API_KEY and PINECONE_API_KEY keys and I got this error whtn I run wasp db seed [ Db ] Running seed: embedSeedScript [ Db ] Error generating embeddings: PineconeConfigurationError: The client configuration must have required property: apiKey. You can find the configuration values for your project in the Pinecone developer console at https://app.pinecone.io. [ Db ] at new Pinecone (/mnt/c/Users/RogerBagueMasanes/Documents/personal/wasp_projects/Marinerito-GPT/node_modules/@pinecone-database/pinecone/src/pinecone.ts:117:13) [ Db ] at initPinecone (/mnt/c/Users/RogerBagueMasanes/Documents/personal/wasp_projects/Marinerito-GPT/src/embeddings/utils.ts:6:10)...

User is getting "Email verification failed, invalid token" unlike 9,000 before him

User is e-mailing me with screenshot from his attempt to log in. Dialog "Email verification". Toast message "Email verification failed, invalid token" and this is 100% coming from the "VerifyEmailForm" component in wasp-lang. I can't find any reason on my end why the user should be getting this. User is on a @gmail.com address Wasp version 0.14.0...

How the hell do I use a value from .env.client?

Hi, I am trying to use a basic env var I've outlined in .env.client. Exactly as the documentation outlines (https://wasp.sh/docs/project/env-vars#client-env-vars): ```import { env } from 'wasp/client'...