User Roles
My app currently has two different dashboard setup.
Member and provider, I'm thinking about how to handle the routing and redirection after Auth.
Should I have two different route group declarations for the roles or a single /dashboard route and then render content conditionally based on the roles....
Layout in Wasp Client
How are layouts handled on the client side in wasp, do you have the root layout system like next Js or do you subscribe individual pages to layouts. I honestly prefer the latter.
Best way to generate null form values for a Prisma update
Not sure best place to ask this question, but I figure developers building CRUD forms in wasp might have the same question.
I have an entity like this:
```model Foo {...
Dynamic URL parameters in wasp routes
How can I read dynamic URL route parameters in wasp operations (queries/mutations)
Missing routes for Slack oAuth
I want to allow my users to authenticate using their Slack account (not as a main auth method though), rather as kind of integration.
I have set up these routes in main.wasp:
// 2a) Slack OAuth: Auth-Redirect
route SlackAuthRoute { path: "/slack/auth", to: SlackAuthPage }...
Email Service Provider
Can I use resend instead of sendgrid for sending verification emails in my wasp app?
What hosting do you use?
I know that Fly.io is the recommended hosting for OpenSaas apps, but what hosting do you all use for your apps, and why?Anyone use Railway, DigitalOcean, Render, etc?
SSR
What is the recommended approach for implementing SSR in a Wasp application, given that the framework currently defaults to CSR with React?
Are there plans to natively support SSR in future releases, or should I integrate Wasp with a framework like Next.js for SSR?
If integration is the best path, could you share any best practices, examples, or potential pitfalls to ensure seamless compatibility with Wasp’s DSL, RPC system, and Prisma backend?...
Saas plans/payments associated to Companies instead of users?
I'm building a saas where our clients are companies and not "users". The Account is a company and so the plan/payment is going to be assosiated with the company. I noticed with the Open Saas template the clients are "users" and the plan is associated to them. Is there a simple way to make plans associate to another model? Obviously I can manually change the code but I was wondering if there is another way I'm missing before I go that route
Anyone used Mailjet before?
I've used Mailjet & Mailgun in other projects, and was wondering if anyone's used either (instead of Sendgrid) with Wasp.
Generate Email Verification Link/ SendVerificationEmail function
Hello guys , is there a way to generate email verificationLink ? i created a custom signup action , i want to generate a verificationLink to send it as an email using emailSender or even better if there is a function i can call in my actions like sendVerificationEmail or something.
Users get logged out automatically
Users get logged out automatically and I can't really see the issue.
In the Chrome Browser tools, it gives me these error messages:
index-DyjaD6qb.js:90 TypeError: Cannot read properties of undefined (reading 'length')
at onAccept (index-DyjaD6qb.js:90:21778)...
Github actions error with wasp in /app
Here is my github action file:
name: Deploy to Fly
on:
push:...
useColorMode hook
im using the the userColorMode hook inside the App.tsx : app/src/client/App.tsx , using it to change the An Design ConfigProvider theme to dark mode when the colorMode state change.
but the problem is App.tsx doesn't render when the colorMode changes , is that normal or am i doing something wrong ?...
Service accounts for authenticated calls
following the standards used for opensaas i have created a bunch of operations that first check if its an authenticated user making the call. i.e:
```
if (!context.user) {
throw new HttpError(401, 'User not authenticated');...
If the verification email goes to spam, how can I verify a user manually? (I'm using OpenSaaS)
How can I verify users manually in the database?
postgresql extention support on fly.io using wasp deploy cli
Hey! has anyone had any luck using pgvector or installing any additional extentions on a fly.io database? what would be ideal is if i can use the wasp cli to specify a custom docker image with pgvector installed during wasp deploy. or does anyone have a better workaround?
Ant Design Modal
Guys when i use the Ant Design Modal and put Ant Design inputs inside it , their CSS is messed up for some reason , but when i used the inputs normaly in pages they work fine. anyone have a guess on why that might happen?
Amazon SES API support for email
Hi there,
I'm implementing a saas application with WASP that I'll deploy in AWS. I want to use Amazon SES for emails. I know that I can use SMTP with WASP to send emails using SES, but there are some limitations with SES SMTP. I also know that SES API integration is not there out of the box.
So, the question is, can I somehow override the email sending functionality and implement the SES API myself? I would love to add this feature back to the framework as well, but for now, I'd need a way to be able to use custom code for email sending without disrupting anything else....