flutter-clean-architecture-riverpod icon indicating copy to clipboard operation
flutter-clean-architecture-riverpod copied to clipboard

Authorization error

Open Tigran-Kosemyan opened this issue 9 months ago • 0 comments

image

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."

Tigran-Kosemyan avatar May 17 '24 15:05 Tigran-Kosemyan