damencho
c1fb1a7def
Installs required basexx when token package is installed. Fixes #1870.
Adds some debug messages when token verification fails for some reason.
vor 8 Jahren
damencho
cc79b073f0
Fires event before setting username, allows listeners to override it.
This is a hook to override the username that will be used when authenticating token users (which are using anonymous login with auto-generated username).
vor 8 Jahren
damencho
599d84a889
Stores the room name from the bosh url into the session.
vor 8 Jahren
damencho
88a58a057e
Removes not needed parameter token in process_and_verify_token.
vor 8 Jahren
damencho
82b27b45fe
Moves token related code into util so it can be reused.
vor 8 Jahren
Saúl Ibarra Corretgé
b01ad360da
Move miscellaneous files to resources
vor 9 Jahren
Sam Whited
9ec120d7cb
Use valid path for HTTP token fetches
vor 9 Jahren
Sam Whited
3128628d09
Populate the token cache
vor 9 Jahren
Sam Whited
d8c4c0627a
SHA256 hash the kid claim before fetching tokens
vor 9 Jahren
Sam Whited
bb56ea4b33
mod_auth_token: Add semicolons
Remove unnecessary cjson config
vor 9 Jahren
Sam Whited
c17576a931
mod_auth_token: Don't timeout finished requests
vor 9 Jahren
Sam Whited
3793119209
mod_auth_token: Fix cache hit log line
vor 9 Jahren
Sam Whited
7fb18d1cb3
Fix broken claims comparison
vor 9 Jahren
Sam Whited
4fc86175e1
mod_auth_token: Set room name on session
vor 9 Jahren
Sam Whited
c951f7f3e9
Add missing semicolons
vor 9 Jahren
Sam Whited
f2e369cfc0
mod_auth_token: Remove broken path.join
vor 9 Jahren
Sam Whited
feb1d9d8e1
Add an LRU cache to mod_auth_token
vor 9 Jahren
Sam Whited
7f2fa9597c
Add basic ASAP support to mod_auth_token
See: http://s2sauth.bitbucket.org/
vor 9 Jahren
hristoterezov
8deb003ef6
JWT client support
vor 9 Jahren
paweldomas
5a95edbdcd
Improve token error reporting in Prosody JWT plugin
vor 9 Jahren
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.
vor 10 Jahren
paweldomas
d666fbb6a4
Uses JWT for token generation in prosody plugin.
vor 10 Jahren
paweldomas
9d60af1a9d
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.
vor 10 Jahren
paweldomas
3406802aa8
Uses JWT for token generation in prosody plugin.
vor 10 Jahren
paweldomas
531b81cce3
Adds Prosody plugin for token authentication.
vor 10 Jahren