Commit Graph

19 Commits

Author SHA1 Message Date
Sam Whited 9ec120d7cb Use valid path for HTTP token fetches 2016-08-31 16:25:49 -05:00
Sam Whited 3128628d09 Populate the token cache 2016-08-31 09:30:07 -05:00
Sam Whited d8c4c0627a SHA256 hash the kid claim before fetching tokens 2016-08-31 09:24:15 -05:00
Sam Whited bb56ea4b33 mod_auth_token: Add semicolons
Remove unnecessary cjson config
2016-08-29 09:39:47 -05:00
Sam Whited c17576a931 mod_auth_token: Don't timeout finished requests 2016-08-26 16:19:01 -05:00
Sam Whited 3793119209 mod_auth_token: Fix cache hit log line 2016-08-26 16:03:08 -05:00
Sam Whited 7fb18d1cb3 Fix broken claims comparison 2016-08-26 14:47:34 -05:00
Sam Whited 4fc86175e1 mod_auth_token: Set room name on session 2016-08-26 14:41:06 -05:00
Sam Whited c951f7f3e9 Add missing semicolons 2016-08-26 14:11:50 -05:00
Sam Whited f2e369cfc0 mod_auth_token: Remove broken path.join 2016-08-26 09:48:02 -05:00
Sam Whited feb1d9d8e1 Add an LRU cache to mod_auth_token 2016-08-24 15:28:13 -05:00
Sam Whited 7f2fa9597c Add basic ASAP support to mod_auth_token
See: http://s2sauth.bitbucket.org/
2016-08-24 14:08:21 -05:00
paweldomas 9f3c209096 Switch back to 'luajwt' in order to fix broken JWT
Temporarily reference 'luajwtjitsi' luarock for immediate
deployment until our changes with RS256 support
eventually get merged with the master
2016-08-02 12:35:48 -05:00
Sam Whited d625b8e3f3 Check for "none" alg in JWT signing 2016-07-18 13:31:30 -05:00
hristoterezov 8deb003ef6 JWT client support 2016-06-13 16:11:44 -05:00
paweldomas 5a95edbdcd Improve token error reporting in Prosody JWT plugin 2016-04-20 16:38:16 -05:00
paweldomas 428fa3f16a New JWT token impl that does not require token verification in Jicofo and uses anonymous authentication method(token goes as BOSH query param). Adds 'allow_empty_token" config option. 2016-01-19 12:59:06 -06:00
paweldomas d666fbb6a4 Uses JWT for token generation in prosody plugin. 2016-01-19 12:58:51 -06:00
paweldomas 531b81cce3 Adds Prosody plugin for token authentication. 2015-11-02 15:28:18 -06:00