You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah i know that its a server side sdk but since many people need client side sdk so it would be better if we do like passing a boolean variable that denotes that user wants to create session or not then it may work with both cases.
Code to reproduce:
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
(client
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
.set_project('5df5acd0d48c2') # Your project ID
)
auth = Account(client)
auth.create_email_password_session(email, password)
print(auth.get()) # returns Guest user
👟 Reproduction steps
Login the user and try to print logged in user it shows Guest user
👍 Expected behavior
whenever user login it should show the logged in user
👎 Actual Behavior
Its not storing sessions even if the user is logged in it works like no one has logged in
🎲 Appwrite version
Version 0.10.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: