Caching of token ins Python SDK

Ready to post? :mag: First, try searching for your answer.
I’m using the client credential flow to create a token.

On consecutive calls I always receive the same token.

Is the token cached on client or on server side? I want to prevent calling the server as long as my token is still valid. Is this feature build in the SKD somehow?

Thanks!

Hey there @magic_al!

For which call(s) specifically are you receiving the same token?

I don’t believe the Python SDK provides any sort of caching mechanism - What you could do is check the exp and introduce logic to not request a new token if not past the exp time.