Closed kunago closed 3 years ago
There is some problems
Really, who need different behavior on different domains ? Why to not configure redirects in webserver ?
Hello, thank you for the feedback. So as for the points:
Maybe I expressed myself in a bad way but given the answer, i think I will handle it.
I would like to ask whether anyone has had the need to display different auth methods based on the Nextcloud URL. As it stands, Nextcloud can be run on multiple domains. In my case though I would like to limit the display of certain auth methods to certain URLs only.
This is the reason:
Having displayed both of those auth button on both URLs is not really useful as the clicking on auth service of domain1.com from the cloud.domain2.com results in an error anyways.
I found the corresponding lines in the "Application.php" file that could possibly filter the method to be displayed but I would prefer not to hack the module to achieve this behavior. A simple regex, or even "strpos" check would do perfectly fine.