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
- Trying to Cutover custom domain, but sti...
Hi Team, Im trying to cutover my custom domain from an old project to a new one and even after deleting it from the old project and org completely, I get "Dom...
- Domain issues
i have deleted my organization before switch domains, now i cant register it in my new org
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...