Authentication and User Session

Hello! I need to develop a Basic Authentication in Ionic 3. I have a table with the users and passwords on MySQL. When the login is successful, I want to storage the user in the “user session” Some suggestion?

Regards

Emiliano

Please do not store cleartext passwords anywhere. Use bcrypt instead. As for “user session”, I highly recommend using JWT.

1 Like

Ok. Thanks. I will research about JWT.

Regards
Emiliano

Any example about bcrypt and Ionic?