What is best practice when using the API authentication method of username and password? #5578
Replies: 2 comments 3 replies
-
To the best of my knowledge default http session timeout is 30 minutes.
(not tested) Please remember not all rest api endpoints require username password auth. |
Beta Was this translation helpful? Give feedback.
-
Hi @timantmedia, Gentle Reminder: If you are doing some automation or programatic things, please don't use username and password for authentication. Please use JWT token to access the REST API. Check this out |
Beta Was this translation helpful? Give feedback.
-
If using a username and password in API authentication, how long does the session last?
What's the best practice, to re-authenticate upon each request to the API or to re-authenticate when hitting a particular response code like a 403 and proceed with the request?
Beta Was this translation helpful? Give feedback.
All reactions