Wix
Wix
WWasp-lang
Created by Wix on 10/15/2024 in #đŸ™‹questions
Won't show up on google
No description
16 replies
WWasp-lang
Created by Wix on 10/10/2024 in #đŸ™‹questions
CORS error for login when google OAuth is enabled
Access to XMLHttpRequest at 'https://lecturelab-server.fly.dev/auth/me' from origin 'https://lecturelab-client.fly.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. I get this error when i uncomment the google auth bit in main.wasp auth for opensaas it works in dev locally just not production
59 replies
WWasp-lang
Created by Wix on 10/10/2024 in #đŸ™‹questions
Customer portal
ZodError: [ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [], "message": "Required" } ] I am getting this error when clicking manage supscription only in production however I have added REACT_APP_STRIPE_CUSTOMER_PORTAL and STRIPE_CUSTOMER_PORTAL_URL to my erver secrets on fly and REACT_APP_STRIPE_CUSTOMER_PORTAL to my client secrets
11 replies
WWasp-lang
Created by Wix on 10/10/2024 in #đŸ™‹questions
Problem with cors out of no where
login:25 Uncaught SyntaxError: Unexpected end of input (at login:25:41)Understand this error login:1 Access to XMLHttpRequest at 'https://lecturelab-server.fly.dev/auth/me' from origin 'https://lecturelab-client.fly.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error index-BZgIB584.js:57

GET https://lecturelab-server.fly.dev/auth/me net::ERR_FAILED (anonymous) @ index-BZgIB584.js:57 xhr @ index-BZgIB584.js:57 o3 @ index-BZgIB584.js:59 Promise.then _request @ index-BZgIB584.js:60 request @ index-BZgIB584.js:59 I pushed up some new code and deployed and then it stopped showing the log in button my navbar and when i go to /login and try to login i get this error ho.<computed> @ index-BZgIB584.js:60 (anonymous) @ index-BZgIB584.js:55 r @ index-BZgIB584.js:60 queryFn @ index-BZgIB584.js:60 g @ index-BZgIB584.js:40 j @ index-BZgIB584.js:40 VC @ index-BZgIB584.js:40 fetch @ index-BZgIB584.js:40 executeFetch @ index-BZgIB584.js:40 onSubscribe @ index-BZgIB584.js:40 subscribe @ index-BZgIB584.js:40 (anonymous) @ index-BZgIB584.js:48 W7 @ index-BZgIB584.js:38 Bp @ index-BZgIB584.js:40 ml @ index-BZgIB584.js:40 (anonymous) @ index-BZgIB584.js:40 z @ index-BZgIB584.js:25 ie @ index-BZgIB584.js:25Understand this error login:1 Access to XMLHttpRequest at 'https://lecturelab-server.fly.dev/auth/email/login' from origin 'https://lecturelab-client.fly.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error index-BZgIB584.js:57

POST https://lecturelab-server.fly.dev/auth/email/login net::ERR_FAILED
28 replies
WWasp-lang
Created by Wix on 9/6/2024 in #đŸ™‹questions
Mailgun Messages Delayed
So all of my DNS is correctly configured and all of my messages say they are accepted and delivered. However, they don't appear in the users inbox for about 5 minutes until after it is sent. The timestamp for the email even says the time it was "delivered". Does anyone know why this is happening? The only thing I havent looked into is if it is getting hung up by spam checkers. Any way to check if this is going on without upgrading my mailgun account to the 49$/Month plan lol?
6 replies
WWasp-lang
Created by Wix on 6/17/2024 in #đŸ™‹questions
Stripe production does not update user after purchase
For some reason when i moved over to production i chnaged my webhook to a production wbhook which i know works because it lets the user purchase things. it does not accuratly update the user to having an active subscription.
30 replies