boraarslan / mapper-influence

0 stars 0 forks source link

Check for session expire time when logging in from previous session cookie #54

Open Fursum opened 1 year ago

Fursum commented 1 year ago

Currently the api request fails because auth function does not check for expired sessions. Add refresh token logic and force to re-authenticate if both are expired.

boraarslan commented 1 year ago

API returns 401 Unauthorized when the session token is invalid. UI should redirect users to the login page when session is expired