Repository navigation
Feat/allow local provider - #1598
jimcullenaus wants to merge 4 commits into
Conversation
Opt-in 'httpclient.allowlocalprovider' lets requests to configured provider hosts bypass the local-address block, without enabling 'allow_local_remote_servers' server-wide. Signed-off-by: James Cullen <jimcullenaus@gmail.com> Assisted-by: ClaudeCode:claude-opus-5-5
The integration tests now reach Keycloak through the option instead of 'allow_local_remote_servers'. Signed-off-by: James Cullen <jimcullenaus@gmail.com> Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: James Cullen <jimcullenaus@gmail.com> Assisted-by: ClaudeCode:claude-opus-5-5
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Nextcloud blocks requests to addresses on the local network, so it can't reach an identity provider on the same network (e.g. my self-hosted Keycloak server). There is a workaround to enable
allow_local_remote_servers, but this turns off the protection entirely and allows unfettered access to any local server.This PR adds a configurable option to user_oidc:
httpclient.allowlocalprovider. It allows local addresses only for requests to the configured provider.Fixes #803
Related: #397, #555, #1451
🤖 AI (if applicable)