# DiscourseConnect laat me niet meer inloggen

**URL:** https://meta.discourse.org/t/discourseconnect-wont-let-me-log-back-in/199519
**Category:** WordPress
**Created:** [7 augustus 2021 om 01:04 UTC](https://meta.discourse.org/t/discourseconnect-wont-let-me-log-back-in/199519 "2021-08-07T01:04:52Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Seal](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Seal](https://meta.discourse.org/u/Seal)
#### Post date: [8 augustus 2021 om 03:04 UTC](https://meta.discourse.org/t/discourseconnect-wont-let-me-log-back-in/199519/9 "2021-08-08T03:04:46Z")

</div>

The real error seems to be **Can’t verify CSRF token authenticity.** The answer was in this thread: [Can't Login to Discourse - CSRF Token Authenticity](https://meta.discourse.org/t/cant-login-to-discourse-csrf-token-authenticity/54081)

I added the following to my apache2.conf file:

```plaintext
RequestHeader set X-Forwarded-Proto https

```

From the error log:

```plaintext
Started POST "/session" for {my.ip} at 2021-08-07 11:45:54 +0000
Processing by SessionController#create as */*
  Parameters: {"login"=>"{me}", "password"=>"[FILTERED]", "second_factor_method"=>"1", "timezone"=>"America/Denver"}
Can't verify CSRF token authenticity.
  Rendered text template (Duration: 0.0ms | Allocations: 1)
Filter chain halted as :verify_authenticity_token rendered or redirected
Completed 403 Forbidden in 13ms (Views: 1.5ms | ActiveRecord: 0.0ms | Allocations: 898)

```

---

_[View the full topic](https://meta.discourse.org/t/discourseconnect-wont-let-me-log-back-in/199519)._
