-
Notifications
You must be signed in to change notification settings - Fork 975
Description
Describe the issue
Different devices provide different REST API Auth Methods. Currently with Basic and Anonymous this does not reflect the state of art.
Configuration (Attach your configuration file)
E.g. Teltonika implements this as a token defined method.
See here:
https://developers.teltonika-networks.com/reference/rutx50/7.19.2/v1.11.1/authentication#post-login
Connector name (If you need help with some connector/converter):
REST/REQUEST HTTP
Versions (please complete the following information):
- TB 4.2.0
- Thingsboard IoT Gateway version 3.7.8
Additional context
I dont know if there is a possibilty to integrate a gerneral "self definable" auth method with a reocurring initial login when device is connected. Tokens also might have a expiry time (e.g. 300s)
--> The Response Token then has to be attached to the request headers for each request.