You can't see user password in console
ohh i see,for privacy reasos right?yeah,understandable!
Yes, and security
They're hashed
then i have to store the in amader system database from response,so that we can use that in creating email session or other stuff?
btw thanks for the help,you're a life-saver!!!
I recommend not saving them apart. What you're trying to achieve?
but then how to create email session without pass?(https://appwrite.io/docs/client/account?sdk=flutter-default#accountCreateEmailSession)
You need password to create email session
I don't understand what you're trying to achieve
You create the email session with the data the user has given to you, no needed to handle manually if password is correct, etc
no,i have to create a session if user creds match with our own system databse then i'll create session for appwrite using email regstered with appwrite...but in the doc,we need a password and email to create a session...so how do i get that password
oh yes,i see..so we're using a another database(phpmyadmin) for other stuff...don't mix that,appwrite is just user session and chat (mainly)
Use the same field and send a request to appwrite and your backend. Another approach is using JWT tokens
i know i'm asking too much,but can you elaborate a little,i'm using flutter sdk
You have the password and email field. When the login or signup button is clicked, you create a session or account (if it doesn't exists) in both your backend and appwrite with the data in the fields of your app
However probably that's not the most recommended approach
for example,suppose user set abc@gmail.com and 123123123 while login,so appwrite will set that user hashed password...later when user will login then i have to do this,(* hardcoded just to give example,it will come from form field)
Future result = account.createEmailSession( email: 'abc@gmail.com', password: '123123123', (Can appwrite will automatically check the password in hashed manner) );
i'm really new to appwrite so please help me out,i really appreciate your concern!
Appwrite will automatically check if the password is correct, not needed doing any additional steps
Even if it's hashed
is there any server-side(PHP) method to create session using email or phone?i didn't find any in the doc tho
You don't need to create a session server-sided in appwrite
If you want to make the mentioned connection, the most similar approach could probably be by using JWT
[SOLVED]Updating password not working!
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...