Skip to main content
Solved

JWT bearer token generation for TX Enhanced REST datasource

  • May 25, 2026
  • 2 replies
  • 38 views

Forum|alt.badge.img+2

I’m trying to connect TimeXtender to a REST API that uses JWT authentication. The API requires a JWT token for authorization, and I need to know the correct way to generate the token and refresh it.

Here is how i do it in POSTMAN:

I have an endpoint: {baseurl}/login, that generates a token using POST - the token expires every hour

I then use that token to get data from another endpoint using GET: {baseurl}/meters

 

Best answer by aftabp

I have manged to solve it now.
You start with this:
 

After this you simply do this:
 

There is no need to pass Authorization to other endpoints in anyways.

2 replies

Forum|alt.badge.img+2
  • Author
  • Problem Solver
  • June 1, 2026

I think that i have come a bit further with this.
I have managed to create a endpoint that generated a token (endpoint Login)

From here on, i need some help using that token for my endpoint endPoint1.
In POSTMAN, the Authentication is defined as this:
 


How do i define it in TX Enhanced Connector?

 

 


Forum|alt.badge.img+2
  • Author
  • Problem Solver
  • Answer
  • June 2, 2026

I have manged to solve it now.
You start with this:
 

After this you simply do this:
 

There is no need to pass Authorization to other endpoints in anyways.