# Cloudflare cookie: CF\_Authorization

**URL:** <https://meta.discourse.org/t/cloudflare-cookie-cf-authorization/315893>\
**Category:** Support\
**Created:** [July 11, 2024, 9:23am UTC](https://meta.discourse.org/t/cloudflare-cookie-cf-authorization/315893 "2024-07-11T09:23:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Celso\_Teixeira](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/celso_teixeira/32/355969_2.png) [@Celso\_Teixeira](https://meta.discourse.org/u/Celso_Teixeira)\
**Post date:** [July 11, 2024, 9:23am UTC](https://meta.discourse.org/t/cloudflare-cookie-cf-authorization/315893/1 "2024-07-11T09:23:33Z")

</div>

When the authorisation cookies expire (`CF_Authorization`) it redirects the user to a generic error page. Image bellow

 ![Screenshot from 2024-07-11 10-16-51](https://global.discourse-cdn.com/meta/original/4X/d/d/9/dd9d4144373db061d8193f36ca950c1ad0661f0e.png)

The expected behaviour is to show the refresh pop-up page. that happens when the Discourse `_t` cookie expires. Image below.

 ![Screenshot from 2024-07-11 10-19-08](https://global.discourse-cdn.com/meta/original/4X/8/8/0/88073cba76637bf15f3e638d362a74eae9180208.png)

Ideas that didn’t work:

1. Since the cookie is secure we can not get it using JS.
2. The Cloudflare team can not extend the expiry date for security reasons.

Does anyone have an idea how can we solve this issue?

---

_[View the full topic](https://meta.discourse.org/t/cloudflare-cookie-cf-authorization/315893)._
