Skip to content

Constantly refreshing Self token

Summary

The Self token keeps refreshing, which is also a reason for it being a bit slow.

Steps to reproduce

Login to the LeAn dashboard and see the loaders spinning.

What is the current bug behavior?

It just keeps loading or loads after a couple of seconds. Also need to re-authorize after refresh.

What is the expected correct behavior?

Load fast(er) and actually load.

Possible fixes

  • Stop having the refresh token refresh.
  • Keep a buffer and re-check expiring.