When I create a new personal access token everything works great with SmartThings APIs for a couple of days. Then the token is no longer valid and I get a 401 error.
I verify the token still exists, and that I’m using the right secret.
The only way to fix it is to create a new token, but that only lasts for a couple of days.
What’s the fix for short-lived token secrets?