Issue
I would like to stay logged in to Heroku longer without being prompted to verify my email and password again.
Resolution
As part of our ongoing security improvements, we have changed how long users can stay logged in on the Heroku Dashboard.
If you're not using SSO, you are required to log in every 24 hours to Heroku Dashboard and every 30 days to Heroku CLI.
These changes apply to all users including MFA enabled users and users that frequently log in from the same device. Users with Multi-Factor Authentication (MFA) enabled to have their web sessions extended an additional 24 hours when they are active on the Heroku Dashboard. MFA-enabled usersâ sessions can be extended up to 10 days (240 hours).
As always, if you are using SSO, you need to log in through your identity provider every 8 hours on Dashboard as well as CLI.
Currently, there is no option to stay logged in longer.
For a secure and low friction login experience, we recommend using a password manager and enabling MFA using location-based automation in Salesforce Authenticator.