# Auth0 Lock 10.19 always prompts for consent page despite allowing for skipping consent

**URL:** <https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744>\
**Category:** Get Help\
**Tags:** auth0-lock, consent, react\
**Created:** [August 4, 2017, 9:04am UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744 "2017-08-04T09:04:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev21](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dev21](https://community.auth0.com/u/dev21)\
**Post date:** [August 4, 2017, 9:04am UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744/1 "2017-08-04T09:04:55Z")

</div>

We are currently developing a SPA in React with Auth0 Lock v10.19 and experienceing the following issue when using the implicit grant flow with an API:  
Despite setting “Allow skipping Consent” to true as well as not having localhost in the callback URLS and our client being listed as first party in the Auth0 management API  
the Auth0 Consent Page always pops up! (tried it also with both actived and deactivated OICD-conformant settings ).  
Here are our Lock Settings:

```
lockOptions = {
            languageDictionary: {
                title: "MidnightDeal"
            },
            theme: {
                logo: 'img/icon.jpg',
                primaryColor: '#000000'
            },
            oidcConformant: true,
            autoclose: true,
            auth: {
           
                params: {
                    audience: 'https://midnightdeal.at',
                    scope: 'openid read:midnightdeal',
                }

```

and the jwt that we get returned:

```
{
  "iss": "https://midnightdeal.eu.auth0.com/",
  "sub": "facebook|10207297312865215",
  "aud": 
    "https://midnightdeal.at",
    "https://midnightdeal.eu.auth0.com/userinfo"
  ],
  "azp": "rR2MRm8YubY4kpQIThlvXHAG3RjoFTAK",
  "exp": 1501818635,
  "iat": 1501811435,
  "scope": "openid read:midnightdeal"
}

```

---

<div class="post-metadata">

**Author:** ![dev21](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dev21](https://community.auth0.com/u/dev21)\
**Post date:** [August 4, 2017, 9:05am UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744/2 "2017-08-04T09:05:51Z")

</div>

[https://midnightdeal.at](https://midnightdeal.at) is our API btw

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [August 4, 2017, 4:42pm UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744/3 "2017-08-04T16:42:07Z")

</div>

From the conditions that might trigger this behavior the most easy to miss is the first party one as that is still not being surfaced through the Dashboard so I’ll focus on that one. You say you verified this through the Management API; was there any chance that you used the get all clients endpoints and saw the first party flag on a different client?

Personally, I would just issue a PATCH `/api/v2/clients/{id}` request with a payload like this `{ "is_first_party": true } `. If this was not the source of the issue then this request would be a no-op so no impact and this way you know for sure that the client will now be identified correctly as first party.

---

<div class="post-metadata">

**Author:** ![dev21](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dev21](https://community.auth0.com/u/dev21)\
**Post date:** [August 4, 2017, 7:02pm UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744/4 "2017-08-04T19:02:38Z")

</div>

Thanks so much for that! Patched it and it works - even though I doublechecked again and it was listed as first Party:P

---

<div class="post-metadata">

**Author:** ![dev21](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dev21](https://community.auth0.com/u/dev21)\
**Post date:** [August 4, 2017, 7:02pm UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744/5 "2017-08-04T19:02:38Z")

</div>

Thanks so much for that! Patched it and it works - even though I doublechecked again and it was listed as first Party:P

---

<div class="post-metadata">

**Author:** ![dev21](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dev21](https://community.auth0.com/u/dev21)\
**Post date:** [August 5, 2017, 6:00am UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744/6 "2017-08-05T06:00:34Z")

</div>

Do you by coincidence know, why the rememberlastlogin property in an OICD-conformant pathway is disabled? Is it temporary or due to OICD specifications?  
Cheers

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/auth0-lock-10-19-always-prompts-for-consent-page-despite-allowing-for-skipping-consent/7744/7 "2018-03-02T05:55:45Z")

</div>


