privacyidea / privacyidea-owncloud-app

Add enterprise grade two factor authentication to ownCloud using privacyIDEA
GNU Affero General Public License v3.0
6 stars 6 forks source link

Which version of nextcloud is supported by this app #114

Open Qintiy opened 3 months ago

Qintiy commented 3 months ago

i am trying to install this app on NextCloud 26.0.1 and in readme is written that it supports 12 and 13. I am just wondering if this app is out of date??

I get this error in Loggs `[no app in context] Error: Error: Class "OCP\App" not found at <>

  1. /var/www/nextcloud/apps/twofactor_privacyidea/appinfo/app.php line 25 OCA\TwoFactor_privacyIDEA\AppInfo\Application->registerSettings()
  2. /var/www/nextcloud/lib/private/legacy/OC_App.php line 316 require_once("/var/www/nextcl ... p")
  3. /var/www/nextcloud/lib/private/legacy/OC_App.php line 192 OC_App::requireAppFile()
  4. /var/www/nextcloud/lib/private/legacy/OC_App.php line 141 OC_App::loadApp()
  5. /var/www/nextcloud/lib/private/legacy/OC_User.php line 128 OC_App::loadApps()
  6. /var/www/nextcloud/lib/base.php line 758 OC_User::setupBackends()
  7. /var/www/nextcloud/lib/base.php line 1165 OC::init()
  8. /var/www/nextcloud/index.php line 34 require_once("/var/www/nextcloud/lib/base.php") `

and the file /var/www/nextcloud/apps/twofactor_privacyidea/appinfo/app.php has thic content: `<?php

/**

use OCA\TwoFactor_privacyIDEA\AppInfo\Application; $app = new Application(); // register the configuration settings templates $app->registerSettings();`

nilsbehlen commented 3 months ago

Sir, this is an owncloud app ;)

From what i know, the internals on owncloud and nextcloud are not the same anymore (and that is what is probably causing the Class not found error), so this app does not work with nextcloud.

We are currently working on a nextcloud app, which should then be available from the nextcloud store. But i do not have an ETA yet.

Qintiy commented 3 months ago

Thanks for the information. For the nextcloud app release information will be probably on official privacyidea website or is there a news or relase website for privacyidea and apps?

nilsbehlen commented 3 months ago

yes, or when a repo is added to the github org you could try it earlier, since i guess you know what you are doing, you dont need it to be in the store.

Qintiy commented 3 months ago

so for now to make it work on nextcloud the only solution is simplesamlphp am I right?

nilsbehlen commented 3 months ago

or keycloak, which is way better than ssp.