question

ajhswan avatar image
ajhswan asked

When does VRM API login token expire?

Good Day,

When does the login token expire when you use:

POST https://vrmapi.victronenergy.com/v2/auth/login

I cannot see anywhere in the documentations that says when the token expires, it just says "If the token expires, an error message will be returned".

Thanks

Andy

VRM
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
Teun Lassche avatar image
Teun Lassche answered ·

Hi,

It depends on the token type and whether remember me is checked etc.


But, the expiration is embedded in the token, you can use a JWT debugger to see the `exp` (expiration timestamp) in the claims: https://jwt.io/

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.