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
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...