# Force OAuth2 re-authentication after N days?

**URL:** <https://meta.discourse.org/t/force-oauth2-re-authentication-after-n-days/44058>\
**Category:** Product Support\
**Created:** [11 مايو 2016، 4:40م UTC](https://meta.discourse.org/t/force-oauth2-re-authentication-after-n-days/44058 "2016-05-11T16:40:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![aviflax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aviflax/32/102191_2.png) [@aviflax](https://meta.discourse.org/u/aviflax)\
**Post date:** [11 مايو 2016، 4:40م UTC](https://meta.discourse.org/t/force-oauth2-re-authentication-after-n-days/44058/1 "2016-05-11T16:40:51Z")

</div>

I’m using the OAuth2 plugin on my hosted site, so my co-workers can log in with Box. The main goal is to avoid having yet another credential to manage. Part of that is a requirement that if someone leaves and we deactivate their Box account, we don’t want them to be able to access our Discourse site anymore. I looked around the admin area but didn’t see a setting to force re-authentication after N days… is there something like that and maybe I’m just missing it? If not, then please consider this a feature request. Without it, I’ll have to add Discourse to our checklist of things to do when employees leave, which is getting quite long…

---

_[View the full topic](https://meta.discourse.org/t/force-oauth2-re-authentication-after-n-days/44058)._
