For Nextcloud 18 and MFA, I’m looking for a way to enabled MFA only when our Nextcloud is accessed externally (outside our network). Our small company doesn’t have general staff access Nextcloud from outside our office so forcing MFA on Nextcloud all the time doesn’t makes sense for us. But the owners of this small business may access their Nextcloud files externally. I would like to implement MFA before they login from external. Is this possible to setup in Nextcloud?
Basically what I’m looking for is a hybrid solution:
When Nextcloud is accessed locally on our network all users (including owners) will just use their password.
When Nextcloud is accessed externally users will need to use MFA (google authentication and user password)