synapsestudios / synapse-common

DEPRECATED
MIT License
1 stars 2 forks source link

Auth gateway only retries first request after handling 401 #53

Closed agerbens closed 9 years ago

agerbens commented 9 years ago

Description

The auth gateway is only retrying the first api request that it receives when handling a 401 unauthorized response and trying to refresh the token. This causes the front end to hang if it tried submitting multiple api requests and received 401s for all of them.

Details

https://github.com/synapsestudios/synapse-common/blob/master/http/auth-gateway.js

agerbens commented 9 years ago

:sunny: :arrow_down:

agerbens commented 9 years ago

:m: :star:

chrisshiplet commented 9 years ago

:+1: