#How can set no expiration for Auth?

1 messages · Page 1 of 1 (latest)

echo steeple
#

Hi, I read the official doc, and I saw that I can setting up a tokenExpiration field, but I need that the system never expires.

open creek
echo steeple
open creek
#

You can also use JWT yeah!

#

Authorization: JWT your-token-here

echo steeple
echo steeple
silent cedar
# echo steeple There's exist some way to avoid JWT expiration?

Not really, the intention of JWTs and this kind of "temporary token authorisation" is the fact that they expire, what you're really looking for is the API key linked above, that is also going to have the behaviour you want of not expiring.
Any other solution to get JWTs to behave like an API key would just be hacky and not recommended