
I'm trying to integrate Appwrite with unity and everything setup finally, SSL setup perfectly all self hosted and I'm happiest guy on the planet right now bec I no longer gonna have to pay for firebase:D
However, when it comes to AUTH, after many tries , I stuck at that point, where I setup everything according to dennis awesome video : https://www.youtube.com/watch?v=tgO_ADSvY1I , however, the Exception always through saying the provider is disabled
Its self hosted on docker, and using namecheap domain with DNS records setup correctly, and SSL verified perfectly without any issues.
any suggestion?

Giving further detail, I'm using Appwrite Nuget package version

Hmm is that our official dotnet package? If so, that is for server-side rather than client-side so you might not be able to use it.

Regardless, you might be getting provider disabled error if you haven't enabled the provider in your project auth settings.
Either that or the project ID isn't set/in the request

the provider is enabled correctly on dashboard, I was able to connect to database and list some documents, so I believe project ID is not the problem

does it mean, I shall give up the idea regard Auth for .Net client?:D

Possibly...just make sure you don't use an API key client side.

Please share details about the request being made

The request is very simple
- Account user = new Account(client); var x = await user.CreateOAuth2Token(OAuthProvider.Google);*

You mean , I shall not ship any client that connect to appwrite directly using API keys generated by appwrite dashboard?

Yes, correct

Can you log the network request?

I dont have fiddler installed atm, but this is the docker log
Error] Timestamp: 2024-08-22T03:36:03+00:00 2024-08-22 05:36:03 appwrite | [Error] Method: GET 2024-08-22 05:36:03 appwrite | [Error] URL: /v1/account/tokens/oauth2/:provider 2024-08-22 05:36:03 appwrite | [Error] Type: Appwrite\Extend\Exception 2024-08-22 05:36:03 appwrite | [Error] Message: This provider is disabled. Please enable the provider from your Appwrite console to continue. 2024-08-22 05:36:03 appwrite | [Error] File: /usr/src/code/app/controllers/api/account.php 2024-08-22 05:36:03 appwrite | [Error] Line: 1603

regard API part, what possible solution then to connect unity or .NET app to Appwrite directly? , I know its noob question

These docker logs don't give enough detail about the request. You need to be able to see the headers in the request and confirm the project id is included in the headers

You can try using the package. Again, just don't use API keys.
Otherwise, you'd have to refer to the REST API docs and manually make the API calls using whatever http request library that's available.
Recommended threads
- "Memberships privacy" setting in 1.7.4
Hi everyone, I'm experiencing an issue with a clean self-hosted installation of Appwrite version 1.7.4. I previously used version 1.6.1, and if I remember corre...
- Avoiding 409 user_already_exists When Mi...
We’ve migrated all our existing email+password users into Appwrite and now want to switch entirely to OAuth (Google & Apple) for authentication. Our plan is th...
- OAUTH2 doesn't works
https://github.com/202420505/APPWRITE-GOOGLE-AUTH Is my code wrong? I think this is also related to deeplinks
