# Attempting to migrate from lock v9 to v11 -- problems(?) with rememberLastLogin

**URL:** <https://community.auth0.com/t/attempting-to-migrate-from-lock-v9-to-v11-problems-with-rememberlastlogin/9305>\
**Category:** Get Help\
**Tags:** oidc-conformant, last-login, embedded-lock, lock\
**Created:** [January 26, 2018, 5:39am UTC](https://community.auth0.com/t/attempting-to-migrate-from-lock-v9-to-v11-problems-with-rememberlastlogin/9305 "2018-01-26T05:39:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![szimmer](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@szimmer](https://community.auth0.com/u/szimmer)\
**Post date:** [January 26, 2018, 5:39am UTC](https://community.auth0.com/t/attempting-to-migrate-from-lock-v9-to-v11-problems-with-rememberlastlogin/9305/1 "2018-01-26T05:39:15Z")

</div>

Specifically, I am using an embedded login redirect, and can make it from v9 to 10.24.2 without issue. The way I’m calling lock is like so:

```
var options = {
    auth: {
		redirectUrl: 'https://foo.bar/login/complete',
		sso: true,
	}
};

var lock = new Auth0Lock('auth0_client_id', 'auth0_domain', options);
lock.show();

```

… though obviously with a real client\_id and domain. As the api docs suggest, by default `rememberLastLogin` is enabled, and I can see my last login with google oauth, press the button, and login with that account.

However, if I add `oidcConformant: true` to the options object when dealing with v10, _or_ if I upgrade to v11 (without or without oidc), the rememberLastLogin behavior doesn’t seem to happen. In these cases, I notice that a `userinfo` HTTP endpoint is called by the code instead of the `ssodata` HTTP endpoint – and also that `userinfo` is returning interesting information (my email address appears in the response). But the `userinfo` response doesn’t seem to be used by anything. I get an ordinary username prompt, as if I’d never logged in on this machine before. This is true for both Chrome and FF, and also for multiple subdomains using lock against this auth0 account.

Is it possible I missed a configuration somewhere, either in lock’s settings or in the auth0 account settings? Or is this not expected to work? Or …?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 6:19pm UTC](https://community.auth0.com/t/attempting-to-migrate-from-lock-v9-to-v11-problems-with-rememberlastlogin/9305/2 "2018-12-14T18:19:01Z")

</div>

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 6:19pm UTC](https://community.auth0.com/t/attempting-to-migrate-from-lock-v9-to-v11-problems-with-rememberlastlogin/9305/3 "2018-12-14T18:19:05Z")

</div>


