Cool, That's good
[SOLVED] missing redirect url Google OAuth web
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
But It's not working
What you get here
Rank 3: Container
I just copy from another login with mail session
Rank 3: Container
Sould I delete?
I mean what is being print to the console as the error?
Rank 3: Container
Nevermind
Rank 3: Container
I got this error when check user is logged in or not
I don't know why it dosn't creates the session for you, everything looks intact.
Rank 3: Container
Okaayy
Rank 3: Container
Maybe I must explore
Admin
It could be because of 3rd party cookies. If your app and Appwrite aren't on the same base domain, the Appwrite cookie is considered a 3rd party cookie and the browser may not include it in the request. This is where custom domains come into play: https://appwrite.io/docs/custom-domains
Another problem could be if you're using a framework with server side rendering. If account.get() is called server-side, it won't have the cookie that's on the client
Rank 3: Container
How if I in development mode, whic is use localhost as domain or ip 127.0.0.1 ? It's not problem?
Admin
that will probably be a problem because localhost or 127.0.0.1 do not have the same base domain as your appwrite server
Rank 3: Container
How best practice if we want to develop in localhost?
Admin
Update your hosts file to point some domain to localhost
Rank 3: Container
[SOLVED] missing redirect url Google OAuth web
Rank 3: Container
missing redirect url Google OAuth web
Rank 3: Container
Hey, why I got this Error, like mismatch url. http / https?
Admin
Is appwrite behind a reverse proxy?
Rank 3: Container
I activate the proxy in cloudflare
Rank 3: Container
Okay I got it, cause I'm not enable force http redirect from .env
Admin
Did that fix it?
Rank 3: Container
Yeah, I enabled the force redirect https
Admin
[SOLVED] missing redirect url Google OAuth web