i'm working through the request flow for when an access token is expired.
I'm thinking of updating this session recipe so that it returns a 440 response if the session is expired.
the front end will look for this and if detected, the front end will call a 'refresh' endpoint on our backend at which point we will call
Session.refreshSession
and return a response.
are there any issues with just passing in this config for the Session recipe during setup on the backend?
{
sessionExpiredStatusCode: 440,
}