-1

I've build a login form where i saved my data gets saved in mongoDB, do i save it to sawtooth/load from sawtooth state instead of MongoDB from which i can retrieve to client side. (new to blockchain)

Saniya syed qureshi
  • 3,053
  • 3
  • 16
  • 22
LexiconD
  • 13
  • 4

1 Answers1

0

I am not sure what you are trying to do. I think you are saving authentication credentials after a user login with a password or some other method. The application just stores the credentials and remembers the authentication.

The credentials can be stored in memory, a file, or a database (such as mongodb). Do not store passwords in the clear (unencrypted) on a file or database.

If, however, you have a blockchain application that creates and validates login credentials, the new login would be stored on the blockchain.

Dan Anderson
  • 2,265
  • 1
  • 9
  • 20