val client = Client(this)
.setEndpoint("https://192.168.101.5/v1")
.setProject("projectid")
val con = this
GlobalScope.launch {
val account = Account(client)
val session = account.createOAuth2Session(con, "google")
}
so instead of ip i used the domain which is connected to cloudflare and not appwrite i just used cloudflare tunneling to host my server so i am using my domain name with cloudflare and not appwrite however replacing ip with domain name gives me this error
i have double checked project id app id and app secret in appwrite server and cloud.google.com too. And by the way i am using kotlin SDK with version 1.2.0
👍 Expected behavior
it should be redirected and have my credentials to create a new user
👎 Actual Behavior
missing url data problem with redirecting to google cloud api
🎲 Appwrite version
Version 1.2.x
💻 Operating system
Linux
🧱 Your Environment
No environment customization just using cloudflare to connect my server with domain using tunnel
👀 Have you spent some time to check if this issue has been raised before?
👟 Reproduction steps
when using
its giving 412 error in browser
and the url was "http://192.168.101.5/v1/account/sessions/oauth2/google?" and it was missing project=projectid should be like "http://192.168.101.5/v1/account/sessions/oauth2/google?project=projectid"
but after manually adding it is giving this error
so instead of ip i used the domain which is connected to cloudflare and not appwrite i just used cloudflare tunneling to host my server so i am using my domain name with cloudflare and not appwrite however replacing ip with domain name gives me this error
i have double checked project id app id and app secret in appwrite server and cloud.google.com too. And by the way i am using kotlin SDK with version 1.2.0
👍 Expected behavior
it should be redirected and have my credentials to create a new user
👎 Actual Behavior
missing url data problem with redirecting to google cloud api
🎲 Appwrite version
Version 1.2.x
💻 Operating system
Linux
🧱 Your Environment
No environment customization just using cloudflare to connect my server with domain using tunnel
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?