#Authentication - Token Authentication like knox auth token vs JWT Token

3 messages · Page 1 of 1 (latest)

rancid agate
#

Hello, what are the key differences, advantages and disadvantages of them and which one I have to choose for which usecase ?

sullen wedge
#

This is a big question that I'm probably not qualified to answer but my opinion is to use the simplest thing that works for your use-case. I'd avoid JWT unless you know you need it (or more likely, your boss makes you use it)

rancid agate
#

Thanks for your answer. At the moment I'm using the knox auth tokens. I get the token only with a session authenticated get request. The Token expires 8 hours later and I'm still session authenticated to get a new token. But is this production ready?