Wasp

W

Wasp

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

Join

could not find a good candidate within 21 attempts at load balancing

have wasp application with WebSocket but after deploying to fly.io the backend is having an issue about the load balancing issue

Iterating on my app post deployment

I have built my app successfully with "wasp build" and I am trying to add some new features to redeploy. After running wasp start db and wasp start to test my changes, it seems to delete a bunch of database tables. I am worried because I do need these tables in my app. What did I do wrong? How do I resolve this? ...

Exclude a country from accessing the app

Exclude a country from accessing the app, based on any geo IP api?

flash change theme at reload

When I navigate with the wasp routes to a page that doesn't have the DarkModeSwitcher it displays the proper theme but if I reload it, as it doesn't have the DarkModeSwitcher, it turns always white.

implement sentry in wasp

need to implement sentry for fast debug and error reporting

Error installing dependencies with new version of opensaas

Hello guys. Having this issue when i started a new project with the opensaas. Got this: ``` 123 error code ERESOLVE 124 error ERESOLVE unable to resolve dependency tree...

Is there support for "multi-user accounts" or "team accounts" with role-based access control (RBAC).

I'm looking to add orginziations to my app. Is there any support for this? Basically where you can have users sign up and then invite other people on their team to their account.

Get email from user auth by google

Hi I just have Google Auth activated as a means of authenticating, how can I get the e-mail? import type { GenerateCheckoutSession, GetCustomerPortalUrl } from 'wasp/server/operations'; import type { FetchCustomerPortalUrlArgs } from './paymentProcessor'; import { PaymentPlanId, paymentPlans } from '../payment/plans';...

How to distinguish users by where they were redirected before they logged in

Hi I have a question regarding authentication. I want to have two types of users depending on where they log from and redirect them to different subpages depending on what kind of user they are. I read that the common solution is to use localStorage but that solution doesn't work for my app flow....

How can users update their password?

What's the best way to implement users updating their password? I think what I want is an operation that received a password and updates the current user's password to that one. It's fine if it doesn't exist...

Oauth not working for google or github.

Both Google and GitHub sign-ins are showing an error saying the redirect isn't working. I've set up the correct URL in the backend. Is there something I need to add to my app?
No description

How to update the FLY CTL version Wasp uses

I need to run Wasp deploy fly deploy with the option --depot="false", but it says it's not a valid option.

Change favicon in wasp file

How to change the favicon in the wasp file. I have an image I want to use in public/favicon.png, I tried: "<link rel='icon' type='image/png' href='/favicon.png' />" but I still see the old da boi

subscriptionplan and status question

I think i manually changed a subscription plan in the dtabase on accident, i set it to start. What should the value originally be in order to not mess with the user table i want to put it back to the correct value.is it null? Also in production i gave myselfe a subscription thorugh stripe but the subscription entries in the user table are not updated....
No description

Wasp & Godot

Is there a way to use Godot and Wasp? Should I set up Wasp first? I thought I was close to finishing the set up for wasp but now I am confused.

Check if user has auth token

Hey! What's the best way to check if the user has an auth token? I don't want for useAuth to resolve before redirecting to the landing page if the user is logged out. If my server is lagging or broken, I would rather logged out people to be immediately redirected to the landing than waiting on a loading screen. I was thinking that I can check if the client has the local storage var wasp:sessionId set. If not, I immediately redirect to the landing....

Question about shared constants

We have the following code in shared constants: ``` const isDevEnv = process.env.NODE_ENV !== 'production'; const customerPortalTestUrl = 'TEST_URL'; ...

Increase default payload size

How can I increase the default size of the payload, this is for when I am uploading larger file. Can I create some custom middleware in a new file which I can tell wasp to use, instead of express default?

My wasp application is deployed in fly.io but the migration file is not running automatically

my wasp application is deployed in fly.io but i have migration issue i have like 20 migration and not running automatically when running the wasp deploy fly deploy command