# Session status of Deactivated user email by organization while he/she was login

**URL:** <https://forum.mattermost.com/t/session-status-of-deactivated-user-email-by-organization-while-he-she-was-login/14583>\
**Category:** Troubleshooting\
**Created:** [December 5, 2022, 8:00am UTC](https://forum.mattermost.com/t/session-status-of-deactivated-user-email-by-organization-while-he-she-was-login/14583 "2022-12-05T08:00:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![manzoor77](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/manzoor77/32/5894_2.png) [@manzoor77](https://forum.mattermost.com/u/manzoor77)\
**Post date:** [December 5, 2022, 8:00am UTC](https://forum.mattermost.com/t/session-status-of-deactivated-user-email-by-organization-while-he-she-was-login/14583/1 "2022-12-05T08:00:29Z")

</div>

Hello, I hope you are good and doing well.  
I have a random question related to enterprise feature of mattermost which is Google SSO authentication. If a user registered in mattermost database by using organization email domain i.e. [ali@hubc.com](mailto:ali@hubc.com), and we are using enterprise feature of mattermost which is Google SSO for login. If a user login via google sso and organization deactivated his [ali@hubc.com](mailto:ali@hubc.com) email. Is this user session remain active on mattermost? or what will be the scenario for this kind of situation.

---

<div class="post-metadata">

**Author:** ![manzoor77](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/manzoor77/32/5894_2.png) [@manzoor77](https://forum.mattermost.com/u/manzoor77)\
**Post date:** [December 12, 2022, 5:22am UTC](https://forum.mattermost.com/t/session-status-of-deactivated-user-email-by-organization-while-he-she-was-login/14583/2 "2022-12-12T05:22:53Z")

</div>

@agriesser @agnivade Brother can you ans above question? I will be thankful for it.

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [December 12, 2022, 6:07am UTC](https://forum.mattermost.com/t/session-status-of-deactivated-user-email-by-organization-while-he-she-was-login/14583/3 "2022-12-12T06:07:52Z")

</div>

Hi manzoor,

I never used Google SSO in combination with Mattermost. I assume you configured it using the OpenID Connect setting, right? Do you have a demo account you can try that out with? The OIDC specification explicitly talks about logout callback URLs to be implemented by the clients, but since this is part of the Enterprise codebase I cannot check that this has been implemented to verify it. The easiest would be to create a demo account, login with it to Mattermost and then disable it in your OIDC provider and see what happens.

---

<div class="post-metadata">

**Author:** ![manzoor77](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/manzoor77/32/5894_2.png) [@manzoor77](https://forum.mattermost.com/u/manzoor77)\
**Post date:** [December 12, 2022, 6:55am UTC](https://forum.mattermost.com/t/session-status-of-deactivated-user-email-by-organization-while-he-she-was-login/14583/4 "2022-12-12T06:55:47Z")

</div>

@agriesser Thanks for your reply. Yes I configured it using OpenID Connect Settings. Alright I will test this scenario using demo account.

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [January 23, 2023, 5:49am UTC](https://forum.mattermost.com/t/session-status-of-deactivated-user-email-by-organization-while-he-she-was-login/14583/5 "2023-01-23T05:49:08Z")

</div>

Hi @manzoor77 ,

just wanted to check back in here - were you successful in your tests with the demo account?
