Commit Graph

22 Commits

Author SHA1 Message Date
Girish Ramakrishnan
14ca94be78 fix typo 2016-06-29 18:24:44 -05:00
Johannes Zellner
4e9dc75a37 Replace DatabaseError with ClientsError where applicable 2016-06-13 14:43:56 +02:00
Johannes Zellner
226537de04 Move client TYPE_* to clients.js 2016-06-03 15:05:00 +02:00
Johannes Zellner
3a9a667890 Make all token grants without PREFIX_USER 2016-06-03 13:01:05 +02:00
Girish Ramakrishnan
ffedbdfa13 various minor fixes to eventlog 2016-05-02 10:01:23 -07:00
Girish Ramakrishnan
b322f6805f move authType into source 2016-05-01 21:53:44 -07:00
Girish Ramakrishnan
7967610f3f add user login to event log 2016-04-30 23:18:14 -07:00
Johannes Zellner
867278a0b6 Use verifyWithUsername() instead of verify() in simpleauth 2016-04-06 08:57:55 +02:00
Johannes Zellner
f413afb835 Support email login in simple auth 2016-03-31 16:59:44 +02:00
Johannes Zellner
1ddb3a58da Also send displayName in simpleAuth 2016-03-31 16:24:28 +02:00
girish@cloudron.io
60988ff7f3 make hasAccessTo take a callback 2016-02-09 12:48:21 -08:00
Johannes Zellner
37185fc4d5 Only allow simple auth clients through simple auth 2015-10-16 14:49:51 +02:00
Girish Ramakrishnan
f33844d8f1 fix debug tag 2015-10-15 15:19:28 -07:00
Johannes Zellner
9833d0cce6 Adhere to accessRestriction in simple auth 2015-10-15 15:18:40 +02:00
Girish Ramakrishnan
4eb3d1b918 login must return 200 2015-10-12 20:21:27 -07:00
Johannes Zellner
5663198bfb Do not log with morgan during test runs for simple auth server 2015-10-11 17:52:22 +02:00
Johannes Zellner
f0fefab8ad Prefix morgan logs with source 2015-10-11 17:19:39 +02:00
Johannes Zellner
8040d4ac2d Add simpleauth logging middleware 2015-10-11 17:19:39 +02:00
Johannes Zellner
763b9309f6 Fixup the simple auth unit tests 2015-10-11 17:19:39 +02:00
Johannes Zellner
23303363ee Move simple auth to separate express server 2015-10-11 17:19:39 +02:00
Johannes Zellner
870e0c4144 Fixup the simple login routes for unknown clients 2015-10-11 17:19:38 +02:00
Johannes Zellner
be8ef370c6 Add simple auth logic for login/logout 2015-10-09 11:37:17 +02:00