I would like to start a simple application in Flutter to practice with MongoDB and I would like to handle users logins/registrations with username/password storing their credentials in MongoDB.
Before today I always used Flutter together with Firebase and so I always used it to manage authentication.
So what should I do after I checked with MongoDB that credentials are correct? I mean, how can I make the “authentication” persistent across different screens and even after the app has been closed?