selfhosted instance saying google Auth provider isnt enabled
- 0
- Self Hosted
- React Native
- Web
- Auth
![](https://cdn.discordapp.com/avatars/687001840415801559/42e1e445fcd60c9a3ea5d142ebd1d991.webp)
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'
);
};```
![](https://cdn.discordapp.com/avatars/458998988205588482/afe68bf26b5e8e479be4000ade05fa20.webp)
Did you double check the project id/endpoint?
![](https://cdn.discordapp.com/avatars/458998988205588482/afe68bf26b5e8e479be4000ade05fa20.webp)
Can you share network logs as well?
![](https://cdn.discordapp.com/avatars/687001840415801559/42e1e445fcd60c9a3ea5d142ebd1d991.webp)
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```
![](https://cdn.discordapp.com/avatars/687001840415801559/42e1e445fcd60c9a3ea5d142ebd1d991.webp)
Didnt know if project id was safe to share or not so removed it
![](https://cdn.discordapp.com/avatars/458998988205588482/afe68bf26b5e8e479be4000ade05fa20.webp)
what browser are you using?
![](https://cdn.discordapp.com/avatars/687001840415801559/42e1e445fcd60c9a3ea5d142ebd1d991.webp)
Microsoft Edge
![](https://cdn.discordapp.com/avatars/458998988205588482/afe68bf26b5e8e479be4000ade05fa20.webp)
Ahh, okay!
![](https://cdn.discordapp.com/avatars/458998988205588482/afe68bf26b5e8e479be4000ade05fa20.webp)
Is your app domain allowed in console for cross origin/cors? just verifying if that's what is causing this!
![](https://cdn.discordapp.com/avatars/687001840415801559/42e1e445fcd60c9a3ea5d142ebd1d991.webp)
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?
![](https://cdn.discordapp.com/avatars/458998988205588482/afe68bf26b5e8e479be4000ade05fa20.webp)
Yes, try to make it specific, let's see if that's what causing this! share the screenshot as well.
![](https://cdn.discordapp.com/avatars/687001840415801559/42e1e445fcd60c9a3ea5d142ebd1d991.webp)
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)
![](https://cdn.discordapp.com/avatars/458998988205588482/afe68bf26b5e8e479be4000ade05fa20.webp)
@Steven got any idea, what might be causing this?
Recommended threads
- How does url file preview work for acces...
I can't view the image if ``https://cloud.appwrite.io/v1/storage/buckets/XX/files/XX/view?project=XX `` does not have ``'&mode=admin'`` attached to the end. I f...
- In DotNet using the Account.Create() res...
When I try to create a new user with the following code `await _account.Create(userId: "unique()", email: email, password: password);` It hit an exception whic...
- Appwrite system requirements
I saw on Appwrite docs that the recommended system requirements are : 2vCPU and 4GB of RAM. But how much can this handle? let's say an app with 1m user, what s...
![](/images/bgs/pre-footer.png)