Wasp-lang

W

Wasp-lang

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

Join

how to remove email verification for creating account??

I want user to be able to create account with username and password with no email verification. I commented out the email past in main.wasp and it has removed the login form in the ui (only Google auth is there in ui) . Is there any way to skip this email verification??

Is there a CRUD entity update example?

I don't see an example in the documentation. I'm wondering if we have to first do a find, then a delete and then a new create?!? How do we actually update the entity without removing the old one?

What's the best way to setup auth with third party that utilizes Google Auth?

I am creating an app that will use https://www.dynamic.xyz/features/embedded-wallets and I will use striclty the Google auth portion of this. What's the best way to wire up a third party that uses Google auth to the Google auth setup in main.wasp? I am using the OpenSaaS template, not sure if that helps.

s3 integration to existing project

Hi there. I created a project that initially didn't have a need for S3, so it was left out. However, now I need to add the ability to upload files and store them. The tutorials for S3 seem to all assume the libraries are there from the start. Is there a way to add file upload support to an existing project? #đŸ™‹questions #aws #fileupload...

Set up client environment variables and deployed, but not defined on prod?

I've integrated Posthog into my wasp application, but whilst it works locally with my environment variables, it does not work when deployed. As mentioned in the docs, I am using the correct syntax - eg. import.meta.env.REACT_APP_PUBLIC_POSTHOG_HOST, I have also made sure to deploy these new secrets to prod, and when requesting them via fly secrets list -a <app name>, they come back. ...

Login button can't be found

After deploying my wasp app based on the open-saas template, I cannot see the "login " button on the top right of the landing page. It seems like it cannot reach the server side of the app.
No description

how do write to my entity from custom api

How do i write to my entity from custom api

request too large

in a wasp action, while uploading the base64 of an image (adds up to ~400kb) i get request too large error. do i have access to the bodyparser in actions? (to increase the limit) or how should i proceed...

Control order of fields through SignupForm/ additionalFields before email and password

Need to ask for firstName and lastName during the sign up. To make it pretty I want it to be FirstName LastName Username Password Byt additionalFields...

Where can I found the select "input template" ?

Where can I found the select "input template" ?

Understanding api/ backend communication

Hey guys, let me preface this with I am a complete hack, still working to learn js, much less node/ react, so I'm hitting above my pay grade messing around with WASP and open-saas. I'm trying to come to grips with how WASP and open-saas handle the backend stuff from the front end. In node, I had services set up for my components and also an api with api endpoints. I'm under the impression that this setup is replaced by the operations setup? I notice operations files with the TSX files that req...

Open Saas template update

Hi team, I have the following questions: • How can I find out which version of the Open SaaS template is used in my project?...

When i load a page it executes an action twice

```tsx if (userSalesdataEx && credsExist){ console.log("Loading new data...") getAndStoreNewData(); // Voeg hier de benodigde argumenten toe }...

Google OAuth help

Hi I am a bit stuck, I am using the Saas Template and trying to add Google OAuth, I have followed all the steps in the documentation but am stuck probably due to my lack of experience. I am trying to test locally the OAuth I have added localhost as a redirect uri in my google cloud console. When I click sign up with google I get redirected to http://localhost:3001/auth/google/login where I get a refused to connect error. If i change the port to 3000, i do not get the error but just nothing happens. I have two questions what is going on with the 3000 and 3001 ports, should I specify the ports somewhere? Secondly, what could be the reason my google oauth is not working?...

redirect from landing page to another if user is logged in?

trying to do exactly what the title says. any advice would be nice

Quick question about Wasp Operations

Are wasp operations exposed on the client?

can i implement an algorithm that fetches data on the client side

Could i implement an algorithm that fetches data and makes a nice graph of it on the client side?

After deploying on Railway, database schema changes are not propagated

Wondering why my app isn't working, I check in the server logs to find there area lot of errors related to an undefined database field. This is because we added a database field after deploying to Railway. Now we have steps for deploying the client, and deploying the server that both involve using the Railway CLI ("railway up"), however this step does not seem to address migrations. I've tried changing the DATABASE_URL in my local .env.server to the URL provided by Railway and running "wasp db migrate-dev". This fails with:...

RSA algorithim for /auth/exchange-code

I need to authenticate users on chrome extenstion using goolge Auth. However I facing issue with ID_token retrieved by google. When I try to exchange that with endpoint we have /auth/exchange-code it give invalid algorithim. Seems opensaas or weblang only supports HS256 , not RS256 based token. Anyone suggestion to overcome ?

Github auth "All user data"

When i create an oauth application, it says it will be able to read/write on all user data in github. i do no want this - how can i make it so all wasp requests is to read email - thats all