appwrite / appwrite

Your backend, minus the hassle.
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
42.21k stars 3.8k forks source link

🚀 Feature: Authjs with Appwrite adapter #7564

Open dwissaaj opened 4 months ago

dwissaaj commented 4 months ago

🔖 Feature description

Feature for adapter working with appwrite database like ~~ @auth/supabase-adapter~~

🎤 Pitch

In my use case using auth js really help authenticate,cookies and session user in browser. Event appwrite sdk already have it, it will be greate if we have one Another Example

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

eldadfux commented 4 months ago

Nice suggestion, would be great if someone from the community could pick this one up.

Abhishek-90 commented 4 months ago

The description seems less informative, could you please elaborate on it? I would like to take it up.

dwissaaj commented 4 months ago

The description seems less informative, could you please elaborate on it? I would like to take it up.

I have edit more informative, you can check it

Abhishek-90 commented 4 months ago

From what I gather from your description @dwissaaj, we need to shift auth from client side to server side on server correct?

Currently we import Client from appwrite and perform necessary login/signup actions, instead you want to shift it from sdk/library mode to api endpoints so that all the database insertions can be done from server?

dwissaaj commented 4 months ago

Nice suggestion, would be great if someone from the community could pick this one up.

@Abhishek-90 In Appwrite Init they now support SSR auth which long time ago cannot be done with web SDK. Now we can get Auth js work with Appwrite. Love this update @eldadfux