Back

I am trying to figure out how to authenticate in dotnet with the sdk

  • 1
  • Android
  • Accounts
  • Web
stvn1337
22 Jul, 2023, 14:56

I am using C# (dotnet) and the sdk gives a way to create a user, gives a way to get the users list and I can see the user I created and the hashed password, but I have no way to verify the user or actually authenticate and get a session as far as I can see. It is all not documented very well, Can someone please help me understand what I need to do for authentication here?

TL;DR
The user is trying to authenticate in dotnet using the SDK. They are having trouble finding the right scope to make REST calls and are also unable to authenticate and get a session using the SDK. They mention that the dotnet SDK nuget is missing some authentication related methods. They are looking for help and a better understanding of how to authenticate with the SDK. Solution: Unfortunately, there is no solution provided in the support thread.
stvn1337
22 Jul, 2023, 14:59

It seems like the dotnet SDK nuget is missing a lot of the authentication related methods mentioned in tutorials.

Drake
22 Jul, 2023, 22:25

The dotnet SDK is a server SDK. For more information on the difference between a client and server SDK, see https://appwrite.io/docs/sdks

stvn1337
23 Jul, 2023, 01:10

Okay, Well I tried to authenticate via graphql and rest, but I get an ecxception about some long named service user account and it says User Application is Missing Scope public. I have looked all throught the web ui and cant find where to give the right scope so that I can make rest calls.

Drake
23 Jul, 2023, 02:06

What exactly did you do and what exactly was the error?

stvn1337
23 Jul, 2023, 02:22

I'll have to post it tomorrow when I pull my code back up. I will let you know then, thanks for helping, I am trying to adapt AppWrite instead of starting with firebase for a project which will be used in production, so I really want to figure this out and not have to switch to something else because I like the design, I just wish there was more c# support...

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more