Commit Graph

17 Commits

Author SHA1 Message Date
SleepWalker
8127041acb #303: properly handling json and request errors. Added InternalServerError 2017-02-26 13:40:07 +02:00
SleepWalker
1c467bc7bd #303: do not logout if token refresh failed due to 5xx error 2017-02-26 11:58:40 +02:00
SleepWalker
87185b6e9b #246: remove outdated code from refreshTokenMiddleware 2017-01-06 07:34:39 +02:00
SleepWalker
274c28a923 #246: remove logout from user/actions. Use logoutAll from account/actions everywhere 2017-01-04 07:52:46 +02:00
SleepWalker
7374ac3564 Disable bearer header for refresh-token request 2016-12-12 22:07:49 +02:00
SleepWalker
f9ae7053d0 #169: remove unhandled promise rejections in tests. Added loging for that cases 2016-12-06 23:08:51 +02:00
SleepWalker
5142d65b39 #48: call authentication.logout for each revoked account 2016-11-15 07:55:15 +02:00
SleepWalker
9e7d5b8338 #48: reset accounts state on logout 2016-11-14 07:28:25 +02:00
SleepWalker
586cdfffe4 #48: add/remove accounts from account switcher. Allow authorized users to log in into another account 2016-11-13 11:49:04 +02:00
SleepWalker
a2afac867a #48: fix the bug, whent account.current was requested without disabling refreshToken middleware 2016-11-08 08:30:53 +02:00
SleepWalker
000ce71d3e #48: integrate accounts with app 2016-11-05 12:11:41 +02:00
SleepWalker
7dd58acede #48: initial logic for multy-accounts actions 2016-10-30 14:12:49 +02:00
SleepWalker
a504981407 Do not rely on isGuest in auth middleware. Instead use token availability 2016-08-10 22:29:16 +03:00
SleepWalker
54664044eb Add tests for auth middlewares 2016-08-09 22:59:43 +03:00
SleepWalker
322325d4ad #181: fix logout for guests. Increase logout speed 2016-08-07 20:26:29 +03:00
SleepWalker
9abbe2ebab Replace chai with unexpected.js 2016-07-30 13:44:43 +03:00
SleepWalker
d9d4f55426 #167: fix bug /logout request failed due to missing jwt. Added corresponding tests 2016-07-28 22:51:47 +03:00