An example of JWT authentication with flutter.
Clone this repository, and inside its folder, run:
flutter pub get
Then you're good to go!
This project contains all needed auth features, like registering, using data in other screens, auto login when openning app, and access token refresh.
The backend used in this project can be visualized on the Insomnia Insomnia.json
file.