Ringo
Ringo
WWasp
Created by Ringo on 4/10/2025 in #đŸ™‹questions
Fly Prod Deploy - ...not listening on the expected address and will not be reachable by fly-proxy.
hey @miho my wasp version is 0.16.2. For what it's worth, the deployed app seems to be working fine, the issue i was seeing was in the logs while I run wasp deploy fly deploy (in my original message), and I am not sure if they are just ignorable or not.
12 replies
WWasp
Created by Ringo on 4/10/2025 in #đŸ™‹questions
Fly Prod Deploy - ...not listening on the expected address and will not be reachable by fly-proxy.
I have tried to change internal_port in fly-client.toml to 8080 (since it was the one that was using 8043, and not 8080), and kept the one in fly-server.toml as 8080. It broke the app with below error. I could totally be understanding the issue wrongly though. Thanks in advance for any help!
[PR03] could not find a good candidate within 1 attempts at load balancing. last error: [PC01] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)
[PR03] could not find a good candidate within 1 attempts at load balancing. last error: [PC01] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)
12 replies
WWasp
Created by Ringo on 4/10/2025 in #đŸ™‹questions
Fly Prod Deploy - ...not listening on the expected address and will not be reachable by fly-proxy.
the internal_port of my fly-server.toml is already 8080, it is the fly-client.toml that is currently 8043 now. @kapa.ai
12 replies
WWasp
Created by Ringo on 4/3/2025 in #đŸ™‹questions
Is there a way to cc an email when using sendEmail?
resolved, just comma separating both emails worked.
6 replies
WWasp
Created by Ringo on 4/3/2025 in #đŸ™‹questions
Is there a way to cc an email when using sendEmail?
@kapa.ai how would i include multiple recipents in the to field? That's a viable option.
6 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
Thanks!
20 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
Hi @miho i noticed that despite both 'profile' and 'email' are included in my configFn as mentioned I have done some investigation with the help of Cursor, which has suggested some changes to app/.wasp/out/server/src/auth/providers/config/google.ts: 1. manually add back the missing scope parameter 2. change how access token is handled Change 2 was implemented because after Change 1, I was able to get into the email selection screen, but after choosing my test email (as configured in Google Cloud console, I got some server errors regarding missing tokens). After both of these are implemented, I was able to sign up and log in with Google OAuth! Of course the file will revert to what Wasp generates on wasp clean && wasp start, but if I manually update the file again, I can reliably resolve the issue. I have attached the updated code for easy reference. Would you mind taking a deeper look on your end? Thanks in advance!
20 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
a web-dev newbie here, if i have already developed some features in my current project, what might be the best way to make sure i can retain the edited files when i start fresh?
20 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
ah right that's my bad, i actually meant to show this below:
export function getGoogleAuthConfig() {
return {
scopes: ['profile', 'email'], // must include at least 'profile' for Google
};
}
export function getGoogleAuthConfig() {
return {
scopes: ['profile', 'email'], // must include at least 'profile' for Google
};
}
20 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
it should be just how it was from the original SaaS template
20 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
hi @miho , as in how it's defined in main.wasp? If so, i've included that in my original question: Snippet of main.wasp:
google: { // Guide for setting up Auth via Google
userSignupFields: import { getGoogleUserFields } from "@src/auth/userSignupFields",
configFn: import { getGoogleAuthConfig } from "@src/auth/userSignupFields",
},
google: { // Guide for setting up Auth via Google
userSignupFields: import { getGoogleUserFields } from "@src/auth/userSignupFields",
configFn: import { getGoogleAuthConfig } from "@src/auth/userSignupFields",
},
Snippet of userSignupFields.ts:
const googleDataSchema = z.object({
profile: z.object({
email: z.string(),
}),
});
const googleDataSchema = z.object({
profile: z.object({
email: z.string(),
}),
});
20 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
No description
20 replies
WWasp
Created by Ringo on 3/12/2025 in #đŸ™‹questions
Google OAuth : Missing required parameter: scope
Yes, all of the above are confirmed, but the issue persists. I have also cleared my browser cache & cookies, and completely restart the browser, but it is still happening.
20 replies