# Lock11 Consent Required. Consent can't be skipped on localhost

**URL:** <https://community.auth0.com/t/lock11-consent-required-consent-cant-be-skipped-on-localhost/23248>\
**Category:** Get Help\
**Created:** [March 29, 2019, 4:24am UTC](https://community.auth0.com/t/lock11-consent-required-consent-cant-be-skipped-on-localhost/23248 "2019-03-29T04:24:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edencorbin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/edencorbin/32/12784_2.png) [@edencorbin](https://community.auth0.com/u/edencorbin)\
**Post date:** [March 29, 2019, 4:24am UTC](https://community.auth0.com/t/lock11-consent-required-consent-cant-be-skipped-on-localhost/23248/1 "2019-03-29T04:24:23Z")

</div>

I have a software platform that will run from localhost on various installations. I am trying to avoid a redirect, or at least catch it as I’m in a single page react application and trying to implement it in the middle of an existing application workflow without any redirect. I’m open to other methods but am currently getting close with Lock11 with option redirect=false. However I am getting the warning: Consent Required. Consent can’t be skipped on localhost. and something went wrong just using sign up or sign in with username / password (not social). What am I missing, will this not be possible on localhost installations (outside of development, as they will be used in production).

I should note with redirect true, things seem to work okay, although it asks for my consent, even though I’m logging in with email / pass not social network. Why? Ideally I would not redirect at all, and just save token data to local storage.

---

<div class="post-metadata">

**Author:** ![thijmen96](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thijmen96/32/20356_2.png) [@thijmen96](https://community.auth0.com/u/thijmen96)\
**Post date:** [March 29, 2019, 5:39am UTC](https://community.auth0.com/t/lock11-consent-required-consent-cant-be-skipped-on-localhost/23248/2 "2019-03-29T05:39:47Z")

</div>

Auth0 doesn’t allow you to skip the consent form on localhost. It’s a safety precaution, as they don’t consider localhost to ever be a verifiable first party application.

You can read more about it here:

> **[User Consent and Third-Party Applications](https://auth0.com/docs/get-started/applications/confidential-and-public-applications/user-consent-and-third-party-applications)**
>
> Learn how to decouple APIs from applications that consume them and define third-party apps that you don't control or may not trust.

---

<div class="post-metadata">

**Author:** ![edencorbin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/edencorbin/32/12784_2.png) [@edencorbin](https://community.auth0.com/u/edencorbin)\
**Post date:** [March 29, 2019, 6:03am UTC](https://community.auth0.com/t/lock11-consent-required-consent-cant-be-skipped-on-localhost/23248/3 "2019-03-29T06:03:57Z")

</div>

Right, but I"m getting an error and not seeing the consent at all if I turn redirect off, I get Consent can’t be skipped on localhost as a console warning, I’m not trying to skip it anywhere to my knowledge.
