# Error signing into app.habitat.sh, bad verification code

**URL:** <https://discourse.chef.io/t/error-signing-into-app-habitat-sh-bad-verification-code/12284>\
**Category:** Chef Habitat\
**Created:** [June 15, 2016, 2:35am UTC](https://discourse.chef.io/t/error-signing-into-app-habitat-sh-bad-verification-code/12284 "2016-06-15T02:35:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoncohen](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@antoncohen](https://discourse.chef.io/u/antoncohen)\
**Post date:** [June 15, 2016, 2:35am UTC](https://discourse.chef.io/t/error-signing-into-app-habitat-sh-bad-verification-code/12284/1 "2016-06-15T02:35:45Z")

</div>

When attempting to sign-in to [app.habitat.sh](https://app.habitat.sh/) using GitHub I get:

> DANGER  
> Authentication Failed  
> [err=2] bad\_verification\_code

I'm logged into GitHub, and I get past the OAuth permissions page on GitHub, it errors when I'm redirected back to app.habitat.sh.

![](https://discourse.chef.io/uploads/habitat/original/1X/f856b99fe8c1ae2a00a44b90930ad0e0d43c58fe.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/chef/original/2X/b/b9c6cc2dba194e37f0fa44a13d1ad740b99aae03.png) [@system](https://discourse.chef.io/u/system)\
**Post date:** [June 15, 2016, 3:07pm UTC](https://discourse.chef.io/t/error-signing-into-app-habitat-sh-bad-verification-code/12284/2 "2016-06-15T15:07:57Z")

</div>

I’m also seeing the exact same issue when trying to sign in.

---

<div class="post-metadata">

**Author:** ![smith1](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@smith1](https://discourse.chef.io/u/smith1)\
**Post date:** [June 15, 2016, 3:49pm UTC](https://discourse.chef.io/t/error-signing-into-app-habitat-sh-bad-verification-code/12284/3 "2016-06-15T15:49:52Z")

</div>

You’ll need to set your _Public email_ to something other than "Don’t show my email address in your [GitHub profile](https://github.com/settings/profile).

There’s an issue open for this at [https://github.com/habitat-sh/habitat/issues/861](https://github.com/habitat-sh/habitat/issues/861).
