# Sunstone sign out does not really sign out

**URL:** <https://forum.opennebula.io/t/sunstone-sign-out-does-not-really-sign-out/2630>\
**Category:** Product Support\
**Created:** [July 25, 2016, 10:47am UTC](https://forum.opennebula.io/t/sunstone-sign-out-does-not-really-sign-out/2630 "2016-07-25T10:47:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [July 25, 2016, 10:47am UTC](https://forum.opennebula.io/t/sunstone-sign-out-does-not-really-sign-out/2630/1 "2016-07-25T10:47:08Z")

</div>

Hello,

after upgrade to 5.0, we have discovered a strange problem with login to Sunstone. Steps to (more-or-less) reproduce:

- log in as `oneadmin`
- use the Sunstone interface for a while
- sign out (this should lead to the login form)
- without closing a browser tab or window, use this form to log in as a different user
- use the Sunstone interface for a while

The observed behaviour (by two different users with two different browsers on two different workstations) is that occasionally the browser is redirected to `https://my.sunstone.addresss/login` instead of doing the desired action. This displays a blank page. Deleting the `/login` part from the URL and manually loading the root URL (`https://my.sunstone.address/`) gives a Sunstone session logged in as `oneadmin` without the need for entering the password.

So I guess there is something in the Sunstone javascript which persists across the signin out and then logging in as an ordinary user.

That said, the “impersonate user” functionality for `oneadmin` would be a heplful addition to Sunstone.

Can you look at it? Thanks!

---

<div class="post-metadata">

**Author:** ![cmartin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cmartin/32/4278_2.png) [@cmartin](https://forum.opennebula.io/u/cmartin)\
**Post date:** [July 26, 2016, 8:28am UTC](https://forum.opennebula.io/t/sunstone-sign-out-does-not-really-sign-out/2630/2 "2016-07-26T08:28:56Z")

</div>

Thank you for reporting it.

We’ll try to reproduce and fix the problem:  
[http://dev.opennebula.org/issues/4683](http://dev.opennebula.org/issues/4683)

Best regards.

---

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [July 26, 2016, 9:10am UTC](https://forum.opennebula.io/t/sunstone-sign-out-does-not-really-sign-out/2630/3 "2016-07-26T09:10:40Z")

</div>

OK, thanks. As always, I am not sure which topic to discuss in the forum and what should be put to the issue tracker.

---

<div class="post-metadata">

**Author:** ![cmartin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cmartin/32/4278_2.png) [@cmartin](https://forum.opennebula.io/u/cmartin)\
**Post date:** [July 26, 2016, 9:37am UTC](https://forum.opennebula.io/t/sunstone-sign-out-does-not-really-sign-out/2630/4 "2016-07-26T09:37:39Z")

</div>

> [@Yenya](#):
>
> As always, I am not sure which topic to discuss in the forum and what should be put to the issue tracker.

Generally we prefer tickets to be clearly bugs, and the forum for things that could be configuration problems or similar.

Can you provide more details about the exact opennebula version, and sunstone configuration? Is is using memcached? default server, or another one? Do your users have the default ‘core’ auth driver?

---

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [July 26, 2016, 10:42am UTC](https://forum.opennebula.io/t/sunstone-sign-out-does-not-really-sign-out/2630/5 "2016-07-26T10:42:04Z")

</div>

OpenNebula 5.0.2-2 from CentOS7 RPMs. No memcached, internal server (wrapped to HTTPS by stunnel). User oneadmin uses the core auth, all the other users use LDAP.
