# Embedded Lock problem on logout

**URL:** <https://community.auth0.com/t/embedded-lock-problem-on-logout/12261>\
**Category:** Get Help\
**Created:** [June 12, 2018, 10:26am UTC](https://community.auth0.com/t/embedded-lock-problem-on-logout/12261 "2018-06-12T10:26:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![doguscan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@doguscan](https://community.auth0.com/u/doguscan)\
**Post date:** [June 12, 2018, 10:26am UTC](https://community.auth0.com/t/embedded-lock-problem-on-logout/12261/1 "2018-06-12T10:26:12Z")

</div>

After I made {allowForgotPassword:true} lock widget started to shows the following screen.

 ![22](https://global.discourse-cdn.com/auth0/original/2X/9/96d4e012414706503a575208fbbbe4a00879b05e.jpg)

This is nice, ok. But after I login using this button and logout again, I redirected back to the same screen but now it looks like:

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

The buttons are disappeared!

Here is my lock configuration:

```
let lock = new Auth0Lock(AUTH_CONFIG.clientId, AUTH_CONFIG.domain, {
autoclose: true,
sso: true,
container: 'login-container',
allowedConnections: [AUTH_CONFIG.connectionName],
socialButtonStyle: 'big',
allowForgotPassword: true,
configurationBaseUrl: 'https://cdn.eu.auth0.com',
auth: {
    redirectUrl: AUTH_CONFIG.callbackUrl,
    responseType: 'token id_token',
    audience: AUTH_CONFIG.apiUrl,
    params: {
        scope: 'openid profile name email'
    }
},
theme: {
    logo: 'http://i.dailymail.co.uk/i/pix/2013/04/06/article-0-190D8141000005DC-583_634x629.jpg',
    primaryColor: '#2A23D7'
},
languageDictionary: {
    signUpTerms: "I agree to the <a href='/terms'>terms of service</a></a>."
},
mustAcceptTerms: true
});

```

Any help?

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [June 12, 2018, 7:08pm UTC](https://community.auth0.com/t/embedded-lock-problem-on-logout/12261/2 "2018-06-12T19:08:50Z")

</div>

Do you have any browser console logs you can share?

---

<div class="post-metadata">

**Author:** ![doguscan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@doguscan](https://community.auth0.com/u/doguscan)\
**Post date:** [June 21, 2018, 10:36am UTC](https://community.auth0.com/t/embedded-lock-problem-on-logout/12261/3 "2018-06-21T10:36:19Z")

</div>

There aren’t any console logs.

It also happens when I enter a wrong password.

 ![17](https://global.discourse-cdn.com/auth0/original/2X/b/b97b60a89c78dbb81155744c6af72b0c3d600b1d.png)

Cannot GET /co/authenticate

But I guess this are only for wrong password.

---

<div class="post-metadata">

**Author:** ![doguscan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@doguscan](https://community.auth0.com/u/doguscan)\
**Post date:** [June 28, 2018, 8:07am UTC](https://community.auth0.com/t/embedded-lock-problem-on-logout/12261/5 "2018-06-28T08:07:38Z")

</div>

Any updates on this issue?  
This is a problem in my production environment right now because I cannot remove the forgot password feature from it.

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [September 7, 2018, 1:45pm UTC](https://community.auth0.com/t/embedded-lock-problem-on-logout/12261/6 "2018-09-07T13:45:13Z")

</div>

@doguscan were you able to solve your issue? I’d like to clarify, when you enter a wrong password the button disappears? Which connections are you using? Username/password, Google, etc? What version of Lock are you using? Does this happen in every browser or just specific one(s)? Also, is there a reason you are using Embedded Lock over [Universal Login](https://auth0.com/docs/hosted-pages/login)?

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [November 22, 2018, 8:12pm UTC](https://community.auth0.com/t/embedded-lock-problem-on-logout/12261/7 "2018-11-22T20:12:02Z")

</div>


