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
- Cant configure email templates
i configure it on the console, and when i send the OTP, it sends with appwrite's email (instead of custom smtp) and with the branding, but i have the Pro (educa...
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?