Commit Graph

22 Commits

Author SHA1 Message Date
aj 03c5974a78 use db to retrieve subs 2017-09-12 22:31:11 +00: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 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