Ghost/ghost/admin/tests
Kevin Ansfield a224154420 attempt expired session restore on network request (#327)
refs TryGhost/Ghost#5202

We can get into a situation where the app is left open without a
network connection and the token subsequently expires, this will
result in the next network request returning a 401 and killing the
session. This is an attempt to detect that and restore the session
using the stored refresh token before continuing with the request

- wrap ajax requests in a session restore request if we detect an expired `access_token`
2016-10-17 15:32:22 +02:00
..
acceptance deps: ember@2.8.2 2016-10-07 17:32:30 +01:00
helpers Ghost.org OAuth support (#278) 2016-09-30 13:43:40 +02:00
integration attempt expired session restore on network request (#327) 2016-10-17 15:32:22 +02:00
unit deps: ember@2.8.2 2016-10-07 17:32:30 +01:00
.jscsrc Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
.jshintrc Update ember-cli to version 2.7.0 🚀 (#148) 2016-07-31 20:47:19 +01:00
index.html Ghost.org OAuth support (#278) 2016-09-30 13:43:40 +02:00
test-helper.js Increase timeout in ember tests 2015-10-20 16:00:16 +01:00