Moderator
You can't see user password in console
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
You can't see user password in console
Rank 2: Process
ohh i see,for privacy reasos right?yeah,understandable!
Moderator
Yes, and security
Moderator
They're hashed
Rank 2: Process
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?
Rank 2: Process
btw thanks for the help,you're a life-saver!!!
Moderator
I recommend not saving them apart. What you're trying to achieve?
Rank 2: Process
but then how to create email session without pass?(https://appwrite.io/docs/client/account?sdk=flutter-default#accountCreateEmailSession)
Moderator
You need password to create email session
Moderator
I don't understand what you're trying to achieve
Moderator
You create the email session with the data the user has given to you, no needed to handle manually if password is correct, etc
Rank 2: Process
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
Rank 2: Process
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)
Moderator
Use the same field and send a request to appwrite and your backend. Another approach is using JWT tokens
Rank 2: Process
i know i'm asking too much,but can you elaborate a little,i'm using flutter sdk
Moderator
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
Moderator
However probably that's not the most recommended approach
Rank 2: Process
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)
);
Rank 2: Process
i'm really new to appwrite so please help me out,i really appreciate your concern!
Moderator
Appwrite will automatically check if the password is correct, not needed doing any additional steps
Moderator
Even if it's hashed
Rank 2: Process
is there any server-side(PHP) method to create session using email or phone?i didn't find any in the doc tho
Moderator
You don't need to create a session server-sided in appwrite
Moderator
If you want to make the mentioned connection, the most similar approach could probably be by using JWT
Rank 2: Process
[SOLVED]Updating password not working!