Wasp-lang

W

Wasp-lang

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

Join

How to Pass Additional Parameters in SSO Login

Hi Team, I'm currently working on a custom Sign In/Sign Up authentication flow using Google authentication. During sign-up, users need to check two checkboxes(refer to the screenshots), but this requirement doesn't apply during sign-in. I've implemented the logic and basic client side error handling in React, but I'm unsure about the following: I need to ensure that new users have accepted both checkboxes before granting access to our application....
No description

auth security

Hey all - I am a newbie to wasp and to anything related to auth security. I’ve seen it mentioned that using localstorage is bad form as it’s vulnerable to xss attacks. Anything to worry about here?

blank page on authorized pages

Hi everyone, I can’t replicate this 100% of the time but periodically in authorized pages when I hit the Back button on my browser, the page is rendered as a white page. I confirmed that the access token is not expired since this can happen shortly after I just logged in....

Will updating Prisma break my Wasp app?

Will my Wasp app break if I update Prisma to 5.12.0?

default password

Hello all, thanks for your work! this project looks great. I'm spinning it up from the base with the migrated db, can't find info on default password for admin, is that a manual push into the db or is there a default or defined method?...

How does the Wasp compiler work?

How does the Wasp compiler work? Do I still need the internet when using it?

How can I use WASP on Windows?

How can I use WASP on Windows?

Disable google auth

How to disable google auth in an existing wasp project that uses google auth?

Error when trying to login with google oauth

I recently migrated my codebase from 0.12.4 to 0.13.0 and I'm now having issues when I attempt to login or signup through google. My google config looks like this: ``` export function getGoogleAuthConfig() {...

Password Reset token invalidation

Hey, could it be that a password token can be reused once it is used? Tried it 3 times with the same token and it changed every time the password

Mails not being sent (Mailgun and Sendgrid tested => both haven't even got an API request)

Hey, I have setup my main.wasp with my email I have registered and set the APIKey - for password reset I am getting 200 as return but no mail is ever being sent

ui

Which ui component library works well with wasp

Running the backend as a regular node.js app?

Hi, I'm wondering if it's possible to run the backend as a regular node.js application like 'npm start' instead of using docker? If not why?

Where to start

Im a UI designer dabbling in trying to create my first app w/ GitHub code pilot as I’m not a developer. I want to create a simple bulk image compressor app with drag and drop functionality that exports a zip of compressed images when finished. Basically a SasS version of ImageOptim using some of the libraries they use. I have open-sass and up and running with no issues but when I try and edit I always break it. I don’t think I understand routing and functions, etc..😅...

running wasp inside google idx error

I am trying to setup the dev environment test out opensaas with google online ide idx, but when I try to run command: wasp db migrate-dev wasp-bin: script: streamingProcess: exec: invalid argument (Bad file descriptor) Is this fixable? I think the IDX system is Nix, so maybe it's not compatible? I should avoid this online IDE in order to make it work? Thank you. 🐝 --- Compiling wasp project... --------------------------------------------------...

App crashed for unknowing reason

Hey, I start the app when it's still v-0.12.0, it works fine till today, nothing changed on my end but the app keep crashing. So I tried to start a completely new project using wasp, still get the problem, anyone understands why? Do we have to keep updating with the wasp version updating? I tried to use 0.13.0, but it seems you guys changed the pricing part and created credits for purchasing, a lot of other parts are related to this, but I'm not going to use this credit feature. Any suggestions?...
No description

trying to run wasp.sh server on docker

Hey guys, so I tried dockerising wasp-sh after I saw it on your recent reddit post. 1. I created a docker container - docker run ubuntu - and installed dependencies incl. node, npm 2. installed wasp.sh using script, modified .bashrc with paths, create test app inside a folder in /MyApp 3. ran docker commit to save as an image...

Confused about [Client ]HMR

[Wasp 0.13.0, MacOs] Hey guys, I am trying to update wasp header/nav bar to a new style with framer motion, I extracted the header part from LandingPage.tsx to a new component and updated the style, but I keep getting this kind of notification in terminal. Does anyone know why is this happening? Is this a serious problem?...
No description

Issue with deploying my wasp app to fly.io

I'm trying to deploy my wasp app to fly.io, but I'm encountering an error that doesn't make sense. When I run wasp start and operate on my localhost, everything works perfectly, but when I run "wasp deploy fly deploy" it goes through an bunch of steps and ends on this error:
"../../../src/client/admin/components/Header.tsx(1,31): error TS2307: Cannot find module 'wasp/auth/types' or its corresponding type declarations.\n"
}
"../../../src/client/admin/components/Header.tsx(1,31): error TS2307: Cannot find module 'wasp/auth/types' or its corresponding type declarations.\n"
}
...

has anyone got shadcn to work with wasp? I am trying but keep getting an error

Attached is the error I am currently getting. Just wondering if anyone has had success with it?
No description