Wasp

W

Wasp

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

Join

Make a new price in strpie

I made a few prices for my stripe subscriptoin plans but i want to adapt them, however some of them have been used so i have to make a new price. What do i need to change in order to succesfully make a new price and use it on my saas.

I have npm vulnerabilities when i cloned my project again

How can i get ride of those vulnerabilities? npm audit doesn't work

Is it possible to create custom user roles with the current wasp auth? Such as non-admin staff

is it possible to create custom user roles without circumventing wasp auth? For example, would it be possible to create staff accounts that aren't admin but can view pages that noraml users can't? Am I overcomplicating this?...

Do client secrets have to be included in every redeploy or only for the first one?

It looks to me as if it's required to add the REACT_APP_STRIPE_CUSTOMER_PORTAL... before the wasp deploy fly deploy command every single time when redeploying. Have I misconfigured something or this this intentional? If it is meant to be like this, wouldn't it be much more convenient if the deploy command would grab that secret from env.client automatically?...

how to downgrade from wasp version?

Hi, how do i downgrade to an older version of wasp? It says for me: Wasp requires package "react-router-dom" to be version "^6.26.2" in package.json.

Help choosing ai image generation model

Hello guys. I have seen a couple project here built with wasp that involves image genaration. Never done it before and by doing some research i have found lots of models. So i am trying to narrow down my options. My use case: I want to generate images that illustrate scenarios related to to traffic rules, road signs, priority... school driving stuffs. And from that image user will have to answer whats happening in that feature, like which car should go first? The images can be 2D, since its whats present in most of the books, and quality just enough for one to see details like the sign, the road... Any siggestions? @Vinny (@Wasp) saw that you were doing a project that relates with image generation, can you please help me out here???...

Error when running wasp db migrate-dev

wasp db start works fine. but i can't get pass wasp db migrate-dev i am using WSL2...
No description

Need help integrating Starlight Blog with a multi-language Starlight site (EN/FR)

Hi everyone, I’m using Starlight in a multi-language setup (English and French), and everything works great as long as I only use Starlight. However, as soon as I try to incorporate starlight-blog, I run into various issues: 404 errors on the translated version, the blog layout not showing up correctly, etc. I’ve tried different folder structures and adjusted my astro.config.mjs and content.config.ts files, but I can’t seem to get everything working together. ...

Error: Blocked request. This host is not allowed.

To allow this host, add to server.allowedHosts in vite.config.js.

Different ways to get the sessionId for a custom API call

I need to attach the Bearer authorization header to a custom API call. I am currently getting the wasp:sessionId from localstorage, which is not ideal. If I'm not mistaken there was an endpoint to fetch the sessionId from the backend? What is the call/endpoint again?...

Non-Dev question about APIs

I'm developing an app which will receive calls and return things to an extension. I have all the UI of my app and all the corresponding operations and queries to make it work as I want. In the extension I only have the UI and I want to implement APIs to complete its functionality....

New opensaas walkthrough vid needed.

Opensaas devs please do a new walkthrough detailing how to personalize the opensaas template and detail debugging steps for whatever errors may arise. Integration of an llm other than openai's chatgpt llm would also be helpful as it would be so easy to deploy a useful saas if only the learning curve wasn't so steep. If I have a guide start to finish with debugging examples I would be good.

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?