Forum Discussion
ziedzied
Sep 21, 2022Copper Contributor
API Tokens expiration
Hello We need to retrieve regularly the sentinel incidents using API calls. API needs a token. The token expires by default after 1 hour... Using a specific policy we can extend it until 1 day whic...
chilberto
Sep 22, 2022Iron Contributor
Best practice would be not to have long living tokens. Renewing tokens should be built into your API either proactively by refreshing before the token expires or as a reaction to an unauthorized response.
Many frameworks have this capability built in or has guidance on implementing these patterns.
Many frameworks have this capability built in or has guidance on implementing these patterns.