Auth working on dev, not so on stage
App has been working, logging in/creating users works on dev, moving it to stage & now running into issues. I'm using the SaaS template & its default authentication. Now on both the /login and /signup routes, the action button is giving a 404. That's all coming from the <LoginForm> which is part of wasp.
Who is supposed to be handling these /auth/email/signup and /auth/email/login routes? Why do they work on the dev environment, but are not there in prod?...
Moving from dev (local) to staging server, access control issues abound
I am getting numerous errors loading the /signup page of the form:
[blocked] The page at https://mydomain.com/signup was not allowed to display insecure content from http://localhost:3001/auth/me
Then when I go to sign up, further errors of the form:
Not allowed to request resource...
Can't connect to WASP WebSocket's on Intranet
I'm using WASP 0.14.0 on Mac OS 14.6 and am trying to run the WebSocket example:
https://wasp-lang.dev/docs/advanced/web-sockets
so that its available on my intranet. However, I can only connect to it on the machine itself with localhost (which works ok). I tried a Socket IO example socket.io-chat-platform and was able to get that working on my network so I know it's not a Firewall issue.
Also HTTP access to the WASP app on the network works ok.
How can I run the WASP app so WebSockets work on the network?...
Deploy Wasp App do Azure
Has anyone ever deployed a Wasp App to Azure and if so is there any guidance on how to do so? Preferably on how to do it via CI (Github Actions).
Error 401 with authentication
Hello, quick question regarding the authentication, i get two warning and auth page looks different in terms of style. I have also open the incident #253.
GET /auth/me 304
GET /auth/me 401
...
CORS on custom API endpoint
This is what I have in api.ts file
import { MiddlewareConfigFn } from "wasp/server";
import { FooBar } from "wasp/server/api"; // This type is generated by Wasp based on the
api
declaration above.
export const apiMiddleware: MiddlewareConfigFn = (config) => {...Tutorial API implementation doesn't work for me.
my main.wasp is
```api upload_video { // APIs and their implementations don't need to (but can) have the same name.
fn: import { fooBar } from "@src/api/api",
httpRoute: (GET, "/api"),
auth: false,...
Create API endpoint for external service
I want to create an endpoint for an external service to trigger an update to a DB entry. I only want to allow this particular service to use the endpoint, but If the incoming request has an "authorization" header, it's rejected by some middleware with the message '{"message":"Invalid credentials","data":{}}% '. How can I bypass this middleware?
User Subsctiption plan change?
I couldnt find anything in the docs regarding this, how can a user change or cancel his subscription plan ?
Is this integrated or do I have to build it myself...
Has anyone deployed on Vercel?
Trying to test deployment but having issues. Would love it if anyone tried and succeeded in sharing their tips. #đŸ™‹questions
#deployment...
Wasp emailSender.send set CC recipients
Using the Wasp emailSender.send method, I can specify the from and to email addresses. Is it also possible to include CC recipients?
Does wasp have a component library?
If not what are some other good react component libraries that would be good for wasp?
How do I install a Google Analytics signup event upon signup?
I am trying to put a Google Analytics signup event behind the authentication moment, has anyone done this before?
Does wasp work with shadcn
I am trying to get FE components from shadcn working with wasp
But I am running into quite a few errors.
I there a small guide on how this can be done?...
How to create seed data on fly.io postgres instance
I created a new fly io launch and want to create same set of seed data which I do locally using
wasp db seed
on fly.io's postgres instance. How can I achieve it ?