Currently if the /token request returns 500, the SessionLost component is displayed with "Session timeout" text. The same happens when refresh token is expired and /token endpoint return 401.
For 500 responses I would prefer to display to the user that there is an error. How to do it with this library? Currently it looks like this is not possible.
Versions
7.22.4
Screenshots
Expected
Some way to handle 500 when refreshing access token.
Actual
No way to handle 500 when refreshing access token.
Hi @Mikilll94 thank you for your issue.
Definitly session lost should be displayed only with an HTTP 400 error.
I thought it was the case, i will look at it quickly.
Issue and Steps to Reproduce
Currently if the
/token
request returns 500, theSessionLost
component is displayed with "Session timeout" text. The same happens when refresh token is expired and/token
endpoint return 401.For 500 responses I would prefer to display to the user that there is an error. How to do it with this library? Currently it looks like this is not possible.
Versions
7.22.4
Screenshots
Expected
Some way to handle 500 when refreshing access token.
Actual
No way to handle 500 when refreshing access token.
Additional Details