# Connection Wizard is looping between "Log in" and "Grant access"

**URL:** <https://help.nextcloud.com/t/connection-wizard-is-looping-between-log-in-and-grant-access/46809>\
**Category:** ℹ️ Support\
**Tags:** windows\
**Created:** [February 3, 2019, 8:54pm UTC](https://help.nextcloud.com/t/connection-wizard-is-looping-between-log-in-and-grant-access/46809 "2019-02-03T20:54:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![xotox91](https://help.nextcloud.com/letter_avatar/xotox91/32/5_5575768a8748004e209b776fc1b2916d.png) [@xotox91](https://help.nextcloud.com/u/xotox91)\
**Post date:** [February 4, 2019, 9:38am UTC](https://help.nextcloud.com/t/connection-wizard-is-looping-between-log-in-and-grant-access/46809/2 "2019-02-04T09:38:43Z")

</div>

That could be the reverse proxy. I had the same problem. The solution for me was to add the ‘overwriteprotocol’ variable to config.php and set it to “https”. See: [server/config/config.sample.php at master · nextcloud/server · GitHub](https://github.com/nextcloud/server/blob/master/config/config.sample.php#L456-L463)

Unfortunately, I ran directly into the next problem with it:

> [@NextCloud 15: desktop client version 2.3.3.1 works, meanwhile 2.5.x doesn't work](https://help.nextcloud.com/t/nextcloud-15-desktop-client-version-2-3-3-1-works-meanwhile-2-5-x-doesnt-work/45479):
>
> Now we are running nextcloud 15.0.2 and login users via SAMLv2 with a universities federation services that redirect our login queries. The web client and the android client work correctly. But desktop client Windows and linux only work with client version 2.3.3.1, meanwhile 2.5.x don’t work. It get stuck on the grant acces page.

---

_[View the full topic](https://help.nextcloud.com/t/connection-wizard-is-looping-between-log-in-and-grant-access/46809)._
