# Auth\_time\_window

**URL:** <https://forum.pritunl.com/t/auth-time-window/459>\
**Category:** Pritunl VPN\
**Created:** [October 18, 2022, 5:25pm UTC](https://forum.pritunl.com/t/auth-time-window/459 "2022-10-18T17:25:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmvdz](https://forum.pritunl.com/user_avatar/forum.pritunl.com/lmvdz/32/179_2.png) [@lmvdz](https://forum.pritunl.com/u/lmvdz)\
**Post date:** [October 18, 2022, 5:25pm UTC](https://forum.pritunl.com/t/auth-time-window/459/1 "2022-10-18T17:25:46Z")

</div>

Hi,

One of my users is having an issue with the auth time window.

They’re audit logs show the **User connection to “%s” denied. Auth timestamp expired** error.

Wondering how to increase the **settings.app.auth\_time\_window** value?

[pritunl/authorizer.py at master · pritunl/pritunl (github.com)](https://github.com/pritunl/pritunl/blob/master/pritunl/authorizer/authorizer.py#L352)

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 18, 2022, 8:46pm UTC](https://forum.pritunl.com/t/auth-time-window/459/2 "2022-10-18T20:46:22Z")

</div>

The command `sudo pritunl set app.auth_time_window 300` will set the window in seconds.

---

<div class="post-metadata">

**Author:** ![lmvdz](https://forum.pritunl.com/user_avatar/forum.pritunl.com/lmvdz/32/179_2.png) [@lmvdz](https://forum.pritunl.com/u/lmvdz)\
**Post date:** [October 18, 2022, 10:28pm UTC](https://forum.pritunl.com/t/auth-time-window/459/3 "2022-10-18T22:28:46Z")

</div>

Thank you, will execute and have the problematic user test.
