Skip to content

[FEATURE] Modern Rest Auth Methods #2029

@DevNinja90

Description

@DevNinja90

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)

Image Image

--> The Response Token then has to be attached to the request headers for each request.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions