# Last remembered user

**URL:** <https://community.auth0.com/t/last-remembered-user/20765>\
**Category:** Get Help\
**Tags:** api, login, auth0, lock\
**Created:** [January 30, 2019, 5:27pm UTC](https://community.auth0.com/t/last-remembered-user/20765 "2019-01-30T17:27:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sailajar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sailajar/32/12846_2.png) [@sailajar](https://community.auth0.com/u/sailajar)\
**Post date:** [January 30, 2019, 5:27pm UTC](https://community.auth0.com/t/last-remembered-user/20765/1 "2019-01-30T17:27:23Z")

</div>

Hello all, My issue is two applications are using the same api  
1.Logged in to Site A as user A  
2.Logged in to Site B as user B

But if i logout of Site A i am seeing user B details instead of user A

Did anyone had same issue? Any help is appreciated.

---

<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:** [January 30, 2019, 8:31pm UTC](https://community.auth0.com/t/last-remembered-user/20765/2 "2019-01-30T20:31:25Z")

</div>

Hey there @sailajar, when you get a chance can you direct message me a HAR file of the stated workflow you described along with your tenant names and test account email addresses used. Please let me know if you have any questions. Thanks!

> **[Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)**
>
> Learn how to troubleshoot with HAR files and steps to generate a HAR file.

---

<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:** [February 5, 2019, 9:52pm UTC](https://community.auth0.com/t/last-remembered-user/20765/4 "2019-02-05T21:52:28Z")

</div>

After talking with our Support team it came to question why are there two separate users logging in via the same session to the same tenant. If you could please detail your use case a bit more we may be able to provide more assistance in working towards your desired result. It’s also important to be sure that during the logout procedure that we are effectively logging out the leaving user from their previous session which I have linked the docs for below. Thank you in advance.

> **[Logout](https://auth0.com/docs/authenticate/login/logout)**
>
> Describes how logout works with Auth0.

---

<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:** [February 8, 2019, 4:03pm UTC](https://community.auth0.com/t/last-remembered-user/20765/5 "2019-02-08T16:03:27Z")

</div>

HI there @sailajar, I wanted to follow up and see if you had any additional questions on this subject. Thanks!

---

<div class="post-metadata">

**Author:** ![sailajar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sailajar/32/12846_2.png) [@sailajar](https://community.auth0.com/u/sailajar)\
**Post date:** [February 8, 2019, 11:37pm UTC](https://community.auth0.com/t/last-remembered-user/20765/6 "2019-02-08T23:37:13Z")

</div>

Hi James, Its not like two different users logging in using same session. Of these two applications one is admin application and,so user is logging into the admin to make few settings and logs back to other application and by then the token is expired and the login page with last remembered user is shown and that user is from the admin application.

Note - We are using lock for our login page and these applications are in the same tenant and sharing the same api.

---

<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:** [March 5, 2019, 8:06pm UTC](https://community.auth0.com/t/last-remembered-user/20765/7 "2019-03-05T20:06:12Z")

</div>

Hey there @sailajar, I reached out via a DM with some more details. When you get a minute can you give that a look? Thanks in advance!

---

<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:** [March 8, 2019, 6:33pm UTC](https://community.auth0.com/t/last-remembered-user/20765/8 "2019-03-08T18:33:58Z")

</div>

I was hoping to follow up @sailajar and see if you got a chance to take look at the direct message I sent you. Please let me know if you have any questions, thanks!

---

<div class="post-metadata">

**Author:** ![sailajar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sailajar/32/12846_2.png) [@sailajar](https://community.auth0.com/u/sailajar)\
**Post date:** [March 12, 2019, 7:29pm UTC](https://community.auth0.com/t/last-remembered-user/20765/10 "2019-03-12T19:29:16Z")

</div>

Hello James thank you so much for replying. This issue was prioritized less for now.  
But i have few question regarding Auth0 SSO. where Auth0 application is Identity provider and SSO into SP –

1. SP accepts only Base64 encoded in a name/value pair of SAMLResponse, how can we do that setup in Auth0 ?
2. SAML request should have a constant attribute that is not related to the userprofile, How can i configure that?

Any help is appreciated

Thanks,

Sailaja

---

<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:** [March 14, 2019, 6:58pm UTC](https://community.auth0.com/t/last-remembered-user/20765/11 "2019-03-14T18:58:14Z")

</div>

After checking with our support team I have been able to confirm the following:

> [@sailajar](#):
>
> SP accepts only Base64 encoded in a name/value pair of SAMLResponse, how can we do that setup in Auth0 ?

This should be covered because the assertions will be posted to ACS/Callbacks via html.

> [@sailajar](#):
>
> SAML request should have a constant attribute that is not related to the userprofile, How can i configure that?

This can likely be resolved through SAML Assertion via a rule [Customize SAML Assertions](https://auth0.com/docs/protocols/saml/saml-configuration/saml-assertions#use-rules)

Please let me know if this helps you in your quest or if you have any additional questions. Thanks!

---

<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:** [March 28, 2019, 11:01pm UTC](https://community.auth0.com/t/last-remembered-user/20765/12 "2019-03-28T23:01:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
