Please use the 👍 reaction to show that you are interested into the same feature.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Feature request
Which Nextcloud Version are you currently using: (see administration page)
30.0.2
Is your feature request related to a problem? Please describe.
When we are developing there is no way to run Keycloak and Nextcloud over https with a self-signed certificate and have the user_oidc app work correctly. There are several scripts that make requests that do not take into account the ability to set the verify field of Guzzle:
Some of the work is already done because at least for certain errors it is taken into account that if Nextcloud is in debug mode it considers that it is safe:
How to use GitHub
Feature request
Which Nextcloud Version are you currently using: (see administration page)
30.0.2
Is your feature request related to a problem? Please describe.
When we are developing there is no way to run Keycloak and Nextcloud over https with a self-signed certificate and have the user_oidc app work correctly. There are several scripts that make requests that do not take into account the ability to set the
verify
field of Guzzle:https://github.com/nextcloud/user_oidc/blob/main/lib/Controller/LoginController.php https://github.com/nextcloud/user_oidc/blob/main/lib/Service/DiscoveryService.php
Some of the work is already done because at least for certain errors it is taken into account that if Nextcloud is in debug mode it considers that it is safe:
https://github.com/nextcloud/user_oidc/blob/d161cdd8b254ca90246b362165003ae2854cec1e/lib/Controller/LoginController.php#L87
Nextcloud does not have the option to globally disable verify by default, which would be ideal:
https://github.com/nextcloud/server/blob/d334773b9868561db86209bbf801d2835f182a7b/lib/private/Http/Client/Client.php#L55
Describe the solution you'd like
Assume that if Nextcloud is in debug mode it sends on Guzzle requests: $options['verify'] = false
Or have a setting in config.php itself as some apps do:
https://github.com/nextcloud/richdocuments/blob/05fa51e71a408a16624588d4f7aed23257090bb2/lib/Service/CachedRequestService.php#L95
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.