This app adds flexible, enterprise-grade multi-factor authentication to Nextcloud.
It enables Nextcloud to perform MFA against the privacyIDEA server in your network.
PrivacyIDEA supports classic OTP tokens, and challenge-response tokens like E-Mail, SMS, PUSH, or WebAuthn.
privacyIDEA Nextcloud App is now available in the Nextcloud App Store.
You can install it from the Nextcloud Admin Panel. For more information see the Nextcloud documentation: https://docs.nextcloud.com/server/stable/admin_manual/apps_management.html
- Download
privacyidea.tar.gz
archive from the latest release. - Unpack the archive to the Nextcloud apps directory:
tar -xzf privacyidea.tar.gz -C <nextcloud>/apps/
. - Enable the app in the Nextcloud WebUI: go to settings(admin) -> apps -> disabled page with "Not enabled" apps and click "Enable" for the privacyIDEA application.
- Copy the files of this repository to
<nextcloud>/apps/privacyidea
. - Install npm package in the privacyIDEA app directory:
npm install
. Note: Remember that you need npm installed on the server first (apt install npm
). Check your node (node -v
) and npm (npm install -g npm@latest
) versions to fulfill the requirements. - Build webpack in privacyIDEA app directory:
npm run build
. - In the Nextcloud WebUI go to settings(admin) -> apps -> disabled page with "Not enabled" apps and click "Enable" for the privacyIDEA application.
Go to your Nextcloud installation directory and run one of the following commands:
sudo -u www-data php occ app:enable privacyidea
sudo -u www-data php occ app:disable privacyidea
- If you don't have nvm run:
sudo apt update
, then:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
- Restart your terminal.
- Install node:
nvm install node
- To update node to a new version:
nvm install node --reinstall-packeges-from=current