Commit Graph

10 Commits

Author SHA1 Message Date
guoguangwu daaa53c392 chore: unnecessary use of fmt.Sprintf 2023-11-16 11:01:15 +08:00
alessandroperetti 807e8f25e3
Added jwt http timeout (#285)
* Added jwt http timeout

Co-authored-by: Alessandro Peretti <alessandro.peretti@spindox.it>
2023-06-09 09:29:01 -03:00
Pavel Tolstov 55321df94e Remove unused parameter from jwtRequest() 2022-06-15 11:28:28 +03:00
Pavel Tolstov 4e1c35b4c9 Add posibility to get hostname of authorizing backend from "iss" claim of JWT token 2022-06-12 12:28:15 +03:00
Ignacio Gómez 065ec97ee3
Use predefined http constants. Add tests to http backend. 2022-06-05 18:39:10 -04:00
Franz Auernigg 963a5ccb85
Add http method option. 2022-06-05 18:19:59 -04:00
Paul Traylor 5dc063f104
Add user-agent to requests (#176)
* Add default 'mosquitto' user-agent to http/jwt requests

* Add libmosquitto version ofr http and jwt remote user agent.

Add more room for extended versions.

Co-authored-by: Ignacio Gómez <iegomez@uc.cl>
2021-07-11 21:52:22 -04:00
Pierre Fersing f1a3fef9ee
Improve log messages
Apply suggestions from code review

Co-authored-by: Ignacio Gómez <iegomez@uc.cl>
2021-02-13 14:04:13 +01:00
Pierre Fersing 4be4a085d8 Merge branch 'master' into backend-error 2021-02-11 16:04:00 +01:00
Ignacio Gómez fc44c811d2
Refactor JWT backend, add JS mode, allow pre parsing of token for JS and local mode, allow local mode specific DB options instead of sharing with regular DB backends. 2021-02-11 09:48:54 -03:00