# Disable lock in PKCE flow

**URL:** <https://community.auth0.com/t/disable-lock-in-pkce-flow/6358>\
**Category:** Get Help\
**Tags:** pkce, lock\
**Created:** [April 25, 2017, 10:51pm UTC](https://community.auth0.com/t/disable-lock-in-pkce-flow/6358 "2017-04-25T22:51:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![max1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/max1/32/7124_2.png) [@max1](https://community.auth0.com/u/max1)\
**Post date:** [April 25, 2017, 10:51pm UTC](https://community.auth0.com/t/disable-lock-in-pkce-flow/6358/1 "2017-04-25T22:51:20Z")

</div>

So I’ve implemented the [Authorization Code Grant Flow with PKCE](https://auth0.com/docs/api-auth/tutorials/authorization-code-grant-pkce). It works!

Unfortunately, when users visit the authorization URL, they see the Auth0 lock screen, and this is definitely not desirable. Is there a way to turn that off and have it immediately redirect the user to the Google/Facebook signin UI?

My authorization URL looks like this: `https://companyname.auth0.com/login?client=XxXxXxXxXxXxXxXxXxXxXxXx&protocol=oauth2&redirect_uri=http%3A%2F%2Fcompany.redirect.url.io%2Fapi-proxy%2Fv1%2Fpkce&audience=https%3A%2F%2Fcompanyname.auth0.com%2Fuserinfo&scope=email%20offline_access%20openid&response_type=code&code_challenge=XxXxXxXxXxXxXxXxXxXxXxXx&code_challenge_method=S256&state=XxXxXxXxXxXxXxXxXxXxXxXx`)

---

<div class="post-metadata">

**Author:** ![alejofernandez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alejofernandez/32/3339_2.png) [@alejofernandez](https://community.auth0.com/u/alejofernandez)\
**Post date:** [May 3, 2017, 8:37am UTC](https://community.auth0.com/t/disable-lock-in-pkce-flow/6358/2 "2017-05-03T08:37:13Z")

</div>

Hey @max1, you can add the connection name in the querystring parameter `connection`, in this case, for google using oauth2 it would be `connection=google-oauth2`.

I suggest you to use the `/authorize` endpoint as it is described in the documentation: [Call Your API Using the Authorization Code Flow with PKCE](https://auth0.com/docs/api-auth/tutorials/authorization-code-grant-pkce)

I tested the parameter it and it works with the `/authorize` endpoint 🙂

Cheers,

Alejo.

---

<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:53am UTC](https://community.auth0.com/t/disable-lock-in-pkce-flow/6358/3 "2018-03-02T05:53:29Z")

</div>


