Invalid success param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, *.devwtf.in
Type
general_argument_invalid
** have configured the domain correctly still its not working**
the success url is: https://x0-gpt.devwtf.in/chatðŸ˜
@Eldad its been 30 min am trying this can anyone help me ASAP pls
Can you send the code snippet?
which code
import { OAuthProvider } from "appwrite";
import { AppwriteUser } from "./init";
async function GoogleSignIn() {
const isDevelopment = process.env.NODE_ENV === "development";
try {
AppwriteUser.createOAuth2Session(
OAuthProvider.Google,
isDevelopment
? "http://localhost:3000/chat"
: "https://x0-gpt.devwtf.in"
);
} catch (error) {
console.error("ERROR OCCURED WHILE LOGGING IN:", error);
}
}
export { GoogleSignIn };
@Moderator anyone pls ?
ps: it works for localhost not for the domain
Can you try https://*.devwtf.in instead of *.devwtf.in?
ok wait
throughs error value must be without path, port and protocol
am sure now its a bug
IT'S A BUG
it works only for *.vercel.app not for domains
wasted a lot of time
damn!
dude its down now
Recommended threads
- cant resume project
Invalid console fingerprint event i try man time
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...