I am currently facing an issue which is only happening to one of my testers. When she tries to sign in either with google or using email and password on both her phone and system, it throws an error.
When I run the process on my end and ask others to do it, it works well but when she does it on her end it doesn't work.
Signing up with email and password returns an invalid_parameters error, but it works for other people.
I have tried to replicate it locally and in production but I have not been able to do it.
We checked her cookies and site data but nothing has been set so far so it's clean.
Code for oAuth sign in.
export default function signInWithOAuth(providerName: "facebook" | "google") {
authAccount.createOAuth2Session(
providerName,
`${BASE_URL}/oauth/`,
`${BASE_URL}/login`
);
}
BASE_URL = 'https://memora-tau.vercel.app
It works for other user and it's just her. I have tried to find out what's wrong but I don't know
Please create a separate post for the invalid parameters error
The oauth problem is probably a 3rd party cookie problem.
For local development, maybe you can change your browser settings to enable 3rd party cookies.
In production, you'll need to use custom domains
Okay
It's a side project I'm working on so I won't be doing a custom domain. Is there nwi other way?
I hosted the app on Vercel tho
But why does it work for some people and it doesn't work for others
account scope missing on Google oAuth sign in
Some people or some browsers are more lenient on 3rd party cookies
Unfortunately not
Hmm, interesting. And the browsers used were chrome
Ah I see. So if I got through with it, once I connect the custom domain it should start working yes?
Yes, assuming this is indeed the problem
Is there something else that could be the problem if not this?
Maybe I can try that since I don't have access to a custom domain
Recommended threads
- 500 Internal Error on Free Plan Projects...
Hello Appwrite Support Team, I am experiencing a 500 Internal Server Error when trying to access my free plan projects in the Appwrite Cloud console. Project ...
- Internal 500 Error
Hi team I have two projects on the free plan currently. On the cloud console i cannot access either of them, and one of my apps that is in production is not wo...
- Issue with OAuth 2.0 authentication
Good evening, I’m reaching out because I’m having a small issue with Appwrite. I’m trying to set up OAuth2 with Twitch, and even though I’m entering the correc...