Session token changing

Hi,

Every time I issue the below ‘curl’ command (from Debian linux terminal box) requesting a session token, a different string value is reported back.

curl --request POST --location ‘https://api.notefile.net/auth/login
–data ‘{“username”:"[you@youremail.com]", “password”: “[your_password]”}’

Any ideas?

thx, rich.

Hi Rich,

Each time you request a token we give you a new one. This allows you to use separate tokens for your separate systems which act as Notehub clients. The advantage of doing it this way is as follows. If one token is compromised (leaked to the public, or known to a retired employee for example) you only have to rotate the key on (create a new token for) one system and not all of your systems.

Please do keep the thoughtful questions coming,

Carl

1 Like