---
"title": "Two-factor Auth for Heroku Accounts in Public Beta"
"description": "Today, we’re excited to announce public beta of two-factor authentication for Heroku accounts. With two-factor auth enabled, an authentication code is..."
"date": "2014-05-06"
"authors":
  -
    "name": "Michael Friis"
"url": "https://wp-www-staging.heroku.com/blog/two_factor_auth_in_public_beta/"
"categories":
  - "News"
---

# Two-factor Auth for Heroku Accounts in Public Beta

Today, we’re excited to announce public beta of two-factor authentication for Heroku accounts. With two-factor auth enabled, an authentication code is required whenever you log in. The code is delivered using an app on your smartphone, and access to your phone becomes a required factor (in addition to your password) to access Heroku. An attacker that has somehow discovered your password will not be able to log in using just your password.

## [Enabling two-factor auth](#enabling-two-factor-auth)

The easiest way to enable two-factor auth is using Dashboard. Go to your [account page](https://dashboard.heroku.com/account), click the “Enable two-factor authentication” button and follow the on-screen instructions. ![Enable two-factor auth button](https://wp-www-staging.heroku.com/wp-content/uploads/2025/03/1473343746-295-original.jpg) Download an authenticator app for your smartphone if you don’t already have one. We recommend [Google Authenticator](https://support.google.com/accounts/answer/1066447?hl=en) but alternatives like Authy work too. ![Two-factor apps](https://wp-www-staging.heroku.com/wp-content/uploads/2025/03/1473343746-294-original.jpg) Scan the barcode shown on the Dashboard page using the downloaded authentication app. ![Bar code](https://wp-www-staging.heroku.com/wp-content/uploads/2025/03/1473343747-296-original.jpg) Finally, enter the 6-digit code displayed on your smartphone to enable two-factor authentication. ![Verify code](https://wp-www-staging.heroku.com/wp-content/uploads/2025/03/1473343747-297-original.jpg) That’s it! Your account is now protected with two-factor auth. In the coming months, we want to add support for sending authentication codes using SMS and we’ll expose two-factor auth support in the [Platform API](https://devcenter.heroku.com/categories/platform-api), so stay tuned. At Heroku we care deeply about the security of apps and accounts on the platform. In the past month alone, we responded vigorously to the [Heartbleed vulnerability](https://wp-www-staging.heroku.com/blog/openssl_heartbleed_security_update/), launched our [Security Bug Bounty](https://wp-www-staging.heroku.com/policy/security/) program and [announced important security improvements for SSL endpoints](https://wp-www-staging.heroku.com/blog/beyond_heartbleed_improved_security_for_encrypted_connections/). With two-factor auth enabled, your Heroku account will have an extra layer of security that stops attackers that have somehow discovered your password. [Enable it now](https://devcenter.heroku.com/articles/two-factor-authentication).