solidusio / solidus_bolt

BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Automatically Sign Out Bolt User #95

Closed Naokimi closed 2 years ago

Naokimi commented 2 years ago

solidus_bolt uses the bolt_access_token for a lot of its API calls. This token expires after 15 minutes and when it does, these calls raise a Server Error which block the app.

Since it can very easily happen that a user would be logged in for over 15 minutes, to avoid breaking the user experience we should log out the user whenever the token expires

Naokimi commented 2 years ago

duplicated with https://github.com/solidusio-contrib/solidus_bolt/issues/111