
My appwrite selfhosted instance is saying google Auth provider isnt enabled when Im staring at it being enabled rn ๐คจ ๐ญ {"message":"This provider is disabled. Please enable the provider from your Appwrite console to continue.","code":412,"type":"project_provider_disabled","version":"1.6.0"}
Code:
const handleGoogleLogin = () => {
account.createOAuth2Session(
'google',
'https://myurl.com/dashboard',
'https://myurl.com/login'
);
};```

Did you double check the project id/endpoint?

Can you share network logs as well?

Yes they are correct
Network Logs:
https://cloud.mindbloomapp.com/v1/account/sessions/oauth2/google?success=https%3A%2F%2Fmindbloomapp.com%2Fdashboard&failure=https%3A%2F%2Fmindbloomapp.com%2Fsignup&project=projectId
Request Method:
GET
Status Code:
412 Precondition Failed (from disk cache)
Remote Address:
my ip...
Referrer Policy:
strict-origin-when-cross-origin```

Didnt know if project id was safe to share or not so removed it

what browser are you using?

Microsoft Edge

Ahh, okay!

Is your app domain allowed in console for cross origin/cors? just verifying if that's what is causing this!

As in on the website? I have just * there for all domains allowed since Im using alot of different domains depending on what device im using. I could switch it quickly though if you think that would fix the error maybe?

Yes, try to make it specific, let's see if that's what causing this! share the screenshot as well.

Ok I updated it but still same {
"message": "This provider is disabled. Please enable the provider from your Appwrite console to continue.",
"code": 412,
"type": "project_provider_disabled",
"version": "1.6.0"
}
but this time its 412 Precondition Failed
not (from disk cache)

@Steven got any idea, what might be causing this?
Recommended threads
- Realtime Disconnects and Error: INVALID_...
Hi Support, we are still experiencing the issue and we are a subscriber on your platform under the account of charlesbcalague@gmail.com I just want to ask here...
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Having Some Trouble With Getting Started
Hi everyone. I'm having some issues with the initial setup of AppWrite for my React Native mobile app. I've done step 1 and 2, but when it comes to step 3, I op...
