Peter
Peter

Reputation: 45

Flutter JWT Access / Refresh

I am new to Flutter and want to write an app to an existing backend. The backend - since it also provides the backend to a Vue.JS app - already handles JWT tokens. The issue which arises is how to hanle JWT tokens in Flutter correctly. The JWT timeout is around 15 minutes. I have already garned the web for minimal working examples. I saw examples with dio and fresh_auth. I would like the first one, however, I have no idea on how to periodically update the token. Thanks in advance.

Upvotes: 0

Views: 165

Answers (0)

Related Questions