flutter-clean-architecture-riverpod
flutter-clean-architecture-riverpod copied to clipboard
Authorization error
After logging in and saving the user token in shared preferences, I encountered an error upon reopening the app because the Authorization header is not being added to the requests.
Here’s a more detailed explanation:
Login and Save User Token: "Log in and save the user token in shared preferences."
Error Upon Reopening the App: "After reopening the app, I encountered an error."
Cause of the Error: "This error occurs because the Authorization header is not being added to the requests."