@thiyagaraaj token expires automatically and need to relogin again. In my case, I have implemented totp verification with the totp secret, which helps me login everyday automatically. You can try it too. https://pyauth.github.io/pyotp/