32 Commits

Author SHA1 Message Date
aj
03c5974a78 use db to retrieve subs v1.2.0 2017-09-12 22:31:11 +00:00
aj
d33ff6992c fix getSiteMailer -> getSiteCapability update 2017-09-06 23:45:43 +00:00
aj
7e0d866e21 fudge assets handling for now 2017-09-06 21:32:23 +00:00
aj
614822730d make easy to copy-paste login code 2017-09-06 21:31:01 +00:00
tigerbot
ddf461a054 tweaked what's returned for grant requests 2017-08-01 14:23:43 -06:00
tigerbot
c0ad5f19fc made it possible to retrieve keys using publisher's sub as well 2017-08-01 10:16:09 -06:00
tigerbot
67c8ba56e1 added some more defaults to the azp and aud of created tokens 2017-07-26 18:12:57 -06:00
tigerbot
95bc9869ad removed sub as strict requirement for saving grants 2017-07-26 15:52:11 -06:00
tigerbot
189a9424cd fixed some problems introduced in splitting the files 2017-07-26 15:51:51 -06:00
tigerbot
7fa2fdfc11 separated the code into different files 2017-07-24 17:10:41 -06:00
tigerbot
e49299670e improved handling of some cases for expiration timestamps 2017-07-24 16:50:41 -06:00
tigerbot
ed0aca5783 make sure created tokens don't live longer than the authorization 2017-07-24 16:02:36 -06:00
tigerbot
2dfbd235c9 implemented getting new access tokens from refresh tokens 2017-07-24 14:49:28 -06:00
tigerbot
0649227fb8 implemented getting token using one-time-password 2017-07-24 14:45:25 -06:00
tigerbot
73a0c72c5a converted all thrown errors to PromiseA.OperationalError
this is to prevent walnut from logging the entire stack trace for errors
that aren't really bugs that need to be traced down
2017-07-24 11:52:06 -06:00
tigerbot
2b07b0e6ae wrote function to verify one-time-passwords 2017-07-21 13:28:09 -06:00
tigerbot
d20e40203e implemented sending of one-time-passwords 2017-07-21 10:45:01 -06:00
tigerbot
e36689600c made token expiration configurable 2017-07-20 12:00:05 -06:00
tigerbot
3c548e4a38 allowing issuer's public key to be retrieved for any user 2017-07-20 11:34:33 -06:00
tigerbot
c03f380e8d implemented creating tokens for other apps
requires user to already have a token from/for the issuer
2017-07-19 17:42:06 -06:00
tigerbot
ef43b56f1f allow grants to be updated 2017-07-19 15:27:19 -06:00
tigerbot
95d1c0284a made it possible to retrieve keys for a single user only 2017-07-12 14:39:53 -06:00
tigerbot
faea77bd10 restricted saving keys to the issuer only 2017-07-12 14:35:25 -06:00
tigerbot
f260b5afc0 implemented route to get grants for all sites 2017-06-30 16:33:51 -06:00
tigerbot
4d326726db updated the document for the grant routes 2017-06-30 16:09:04 -06:00
tigerbot
030f2d6ae6 updated the document for the JWK routes 2017-06-30 16:04:14 -06:00
tigerbot
9518c3c190 changed manual wrap of README to 80 characters 2017-06-30 14:26:12 -06:00
tigerbot
c62cd15644 added authorization check to grant requests 2017-06-30 12:58:27 -06:00
tigerbot
c548b44d19 added routes to save and retreive grants 2017-06-28 18:34:20 -06:00
tigerbot
5b8d77a555 changed the id used to store JWKs 2017-06-28 17:51:24 -06:00
tigerbot
d320f3d990 added some routes to save and retrieve JWKs 2017-06-28 14:28:28 -06:00
AJ ONeal
e92b5f3e3e notes 2017-06-27 10:19:39 -06:00