Nextcloud and iOS App - CSRF Check failed

cygnus

Explorer
Joined
Mar 20, 2012
Messages
73
Hi All, managed to get to eventually sort my Freenas plugin Nextcloud and nginx jail working to secure it, and whilst I managed to get the web interface working fine, I then ran into a problem adding the new account into the iOS App. I could sign in but then got a Access Denied - CSRF Check Failed error.

Just thought I'd share the fix incase anyone else runs into this after upgrading or installing.

The details are available here - CLICK HERE

The part that fixes is as follows :- in the nextcloud jail I navigated to the nextcloud.php file in my case was usr/local/etc/nextcloud/config directory. Then using ee just managed to adjust the following line of the file

<?php
$CONFIG = array (
... (removed to save space)
'overwrite.cli.url' => 'https://home.secret-domain.com',
'overwriteprotocol' => 'https',
... (removed to save space

Then restarted the plugin of course.

Hope it helps someone if needed.
Have a great weekend
Rgds
Cygnus
 
Top