# Login impossibe after disabling Legacy Lock API

**URL:** <https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738>\
**Category:** Get Help\
**Tags:** deprecation\
**Created:** [July 2, 2018, 5:24pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738 "2018-07-02T17:24:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 2, 2018, 5:24pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/1 "2018-07-02T17:24:31Z")

</div>

Hi,  
although our developer confirmed “We’re certainly not using an old (or any) version of Lock screen.” our login process does not work anymore as soon as we switch off the Legacy Lock API.  
As soon as switched off the login failes with the “incorrect credentials” message. Switching it back on immediately brings login back to life.

Can anyone help me to find our what we need to do to be ablte to switch off the Legacy Lock API?

THX  
Jens

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 5, 2018, 11:25am UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/2 "2018-07-05T11:25:09Z")

</div>

Hi,  
can anyone help with this?

---

<div class="post-metadata">

**Author:** ![brad2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brad2/32/8925_2.png) [@brad2](https://community.auth0.com/u/brad2)\
**Post date:** [July 6, 2018, 3:31pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/3 "2018-07-06T15:31:43Z")

</div>

Not sure if I can help, but wondering if you can give some more info on your implementation.

I thought I was not using the older lock, but apparently I was because it tries to make calls to a geolocation api endpoint or something that gave a hint that something was weird.

What do you see in the network tab in chrome devtools when it’s not working?

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 8, 2018, 8:41pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/4 "2018-07-08T20:41:02Z")

</div>

Unfortunately I am not the one who developed this part of our App,  
can you help me to provide you with sufficient detail so you can judge. What is it you need to know to be able to say what might be the issue?

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 8, 2018, 8:49pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/5 "2018-07-08T20:49:36Z")

</div>

chrome dev tools thows an “Unauthorized” on /auth/login when trying to signin…

---

<div class="post-metadata">

**Author:** ![brad2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brad2/32/8925_2.png) [@brad2](https://community.auth0.com/u/brad2)\
**Post date:** [July 9, 2018, 3:38am UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/6 "2018-07-09T03:38:16Z")

</div>

One thing was in my case I was directly calling passwordlessVerify instead of passwordlessLogin

is there any more info in the error message? any more about the response from the server?

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 10, 2018, 10:01am UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/7 "2018-07-10T10:01:52Z")

</div>

is there anything specific in my codebase that I can search for to find out whether we are using passwordlessVarify or -Login?

Here is a sreenshot from the error in dev tools:

 ![44](https://global.discourse-cdn.com/auth0/original/2X/7/7cdf09875f947795ae1d3adfe366eb450292090a.png)

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 10, 2018, 10:09am UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/8 "2018-07-10T10:09:35Z")

</div>

we get these two events in the auth0 logs when legacy lock api is disabled and a login fails:

 ![29](https://global.discourse-cdn.com/auth0/original/2X/f/f6e8431162910825617437ca7bea128b942f9bbc.png)

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 11, 2018, 1:13pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/9 "2018-07-11T13:13:34Z")

</div>

this issue has now been solved by one of our developers. thanks for your support!

---

<div class="post-metadata">

**Author:** ![romainP](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@romainP](https://community.auth0.com/u/romainP)\
**Post date:** [July 11, 2018, 3:16pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/10 "2018-07-11T15:16:02Z")

</div>

Hi pododesk,  
We have the same issue as yours. Could you please be a bit more specific about how you solved this?  
Best regards,  
Romain

---

<div class="post-metadata">

**Author:** ![romainP](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@romainP](https://community.auth0.com/u/romainP)\
**Post date:** [July 11, 2018, 3:39pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/11 "2018-07-11T15:39:49Z")

</div>

Hi again,  
We solved this by completing the “Allowed Web Origins” of our application.  
Hope this will help!  
See ya

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [July 16, 2018, 11:26pm UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/12 "2018-07-16T23:26:50Z")

</div>

in the end we needed to migrate to the hosted login page.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 17, 2018, 10:40am UTC](https://community.auth0.com/t/login-impossibe-after-disabling-legacy-lock-api/12738/13 "2018-12-17T10:40:30Z")

</div>


