[GH-ISSUE #586] allow_local_remote_servers must be true at the system level in order the app can work #119

Open
opened 2026-02-26 05:33:22 +03:00 by kerem · 0 comments
Owner

Originally created by @oleua on GitHub (Jul 21, 2023).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/586

I have found that the option allow_local_remote_servers option in the config.php must be set true, in order the app can work.
Otherwise it says:
OCP\Http\Client\LocalServerException: Host violates local access rules

I tried to limit the option to only this app, but it doesn't work, and needs to be set true at the upper level in the config.php file.

Is that secure? Especially, if I do not use federated API at all.

Originally created by @oleua on GitHub (Jul 21, 2023). Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/586 I have found that the `option allow_local_remote_servers` option in the `config.php` must be set `true`, in order the app can work. Otherwise it says: `OCP\Http\Client\LocalServerException: Host violates local access rules` I tried to limit the option to only this app, but it doesn't work, and needs to be set `true` at the upper level in the [config.php](url) file. Is that secure? Especially, if I do not use federated API at all.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#119
No description provided.