I’ve stuck into a weird situation.
Here is my application workflow.
I manually authenticate my application and store the tokens in database.
After every 12 hours ( just for testing) I run a CRON job to refresh my tokens. After ~4 time my CRON job runs (2 days) I started getting TokenExpiredException.
I can’t get rid of this issue unless I remove the tokens from database and manually authenticate myself again.
How do I cope with this issue.
Thank you so much.