- Content .- Fans (18) .- Knowledge Base (2) . 

One Time Password Backend


ownCloud Tool

Score 69%
One Time Password Backend

One Time Password Backend

One Time Password Backend

Version Control:  Link
Minimum required   ownCloud 7
Downloads:  5173
Submitted:  Jun 17 2013
Updated:  Nov 4 2014


This application is distributed WITHOUT ANY WARRANTY; without even the implied warranty of

One Time Password Backend can create TOTP and HOTP and generate QrCode
Based on library multiOTP develop by "SysCo systèmes de communication" (thanks)
test with "Google Authenticator" and "android Token"
Can works with Yubikey see doc here :
Administrator interface to manage users OTP
require Owncloud >= 7

if you want help to make bug fix, enhancement or translation your welcome.
Just fork the github project and submit your pull request

Version 2.5

Upload user_otp directory under the 'apps' directory of your ownCloud.
user_otp folder should have read write permission for the web server user (under debian/ubutnu : chown -R www-data:www-data user_otp)
Navigate to the 'Apps' page in Admin.
Click on 'user_otp' in the application list. Then click the 'Enable' button.

- Navigate to the 'Admin' page to set the server encryption key;
- Click 'Save';
- Navigate to 'Personal' page to create Your OTP

- keep an admin user working without otp in case of a lost of otp seed
if not you can delete otp user config in the db with the query
"delete from *PREFIX*user_otp where `user` = 'YOURUSERLOGIN'
replace *PREFIX* by owncloud table prefix 'oc_' by default

- Use the navigation entry "OTP users" (on left bar, with admin account)
to manage user's OTP
- if you want to be able to send email to users with OTP config
your server must be correctly configure :

- improve Admin interface to manage otp user information (mass provisionning / ...)
- add user rescue otp code as lost password process


V2.5.1 2014-11-04
bug fix Can login without the otp even with passwor + OTP option #80
V2.5 2014-11-01:
bug fix ownCloud 7 compatible? #70
bug fix / enhancement Not working properly with encryption enabled #66
bug fix Timezone errors #64
bug fix Cannot login with two-factor authentication #69
bug fix / enhancement Add support for News API #74

V2.4 2014-04-29: (2.4.1)
bug fix DB:MySQL ERROR: Unable to write the changes in the file #61

V2.4 2014-04-27:
enhancement stop browsers trying to "remember the OTP but only the "real" password #56
enhancement change on admin page HOTP params #41
enhancement it would be nice to be able to set an own "accuracy" #57
update multiOTP class from 4.0.6 to #58
bug fix no OTP field #53
bug fix css #55
bug fix text error "passorwd" #54

V2.3 2014-04-14:
enhancement enter regular password and OTP within same field #44
enhancement admin option for user can't disable otp option (only changed it) #48
bug fix lost password link not working when otp is enable #47
bug fix user (including admin) can't change password with OTP+password required option # 50

V2.2 2014-02-28:
enhancement page liste users with otp for admin #40
enhancement Small changes to make this compatible with Yubikey (HOTP) #33 (thanks to Bas)
bug fix user-otp prevents creation of new ownCloud users #36
bug fix setting up user token seed fails on OC6 with PostgreSQL 9.1 #38 (thanks to rainforest1155)
bug fix two factor auth for user not have a two factor auth #39
bug fix Password-field behaviour for "Two Factor Authendication"is different #6
bug fix Broken path to password.svg - variable owncloud root path #32

V2.1 2014-02-02:
bug fix SQL Error using Postgresql as DB #25
bug fix Password not change! #27
owncloud 6 bug fix #28
remove windows binary from the 3rd party
bug fix personal setting error #29

V2 :
lot of bug fix
update multiOTP lib (4.0.4)
store otp user information in owncloud DB
should work with all user backend!
add two factor authenticator options

Send to a friend
Other  Apps  from loki9236
Report inappropriate content

goto page: prev   1  2  3  4  5  6  7  8  9 


 @ OC 7.0.4 OTP does not work

 by svenniD on: Feb 25 2015
Score 50%

I followed your instructions, downloaded the ... at the first time i created my user token seed it worked very well. i checked it with phpmyadmin, the entry at oc_us_top seems to be correct. but no qr-code, no token seed at the otp interface at owncloud.

when i try to create another token seed with the same user, the message "check app folder rights" appears. yep, and i checked the rights, twice :) so unfortunately i can't use the OTP extension.

please help me / us with that. best regards svenniD

Reply to this


 Re: @ OC 7.0.4 OTP does not work

 by svenniD on: Feb 25 2015
Score 50%

double post due to reload website / resend data, sorry - can't delete it, would be great if u could ;)

Reply to this


 OC8 Generate Token Seed for user

 by msymiakos on: Mar 6 2015
Score 50%


I get the following errors when trying to generate a token seed for a user:

Error PHP Undefined index: PATH_INFO at /var/www/html/cloud/apps/user_otp/lib/otp.php#230
Error PHP Undefined index: PATH_INFO at /var/www/html/cloud/apps/user_otp/lib/otp.php#240

No token seed is generated.

The encryption key is set in the admin page. OTP is disabled for remote.php and authentication method is two-factor. I`m running Centos with apache.

Any suggestions what to do?


Reply to this


 Owncloud 8.0.2 ERROR

 by MaxuN on: Mar 15 2015
Score 50%

I have this errors and can't activate OTP:

Error PHP date_default_timezone_set(): Timezone ID '' is invalid at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#3759 2015-03-15T20:35:19+00:00
Error PHP Undefined index: timezone at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#3756 2015-03-15T20:35:19+00:00
Error PHP Undefined index: display_log at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#2504 2015-03-15T20:35:19+00:00
Error PHP Undefined index: debug at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#2499 2015-03-15T20:35:38+00:00
Error PHP Undefined index: log at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#2494 2015-03-15T20:35:38+00:00
Error PHP Undefined index: backend_type_validated at /var/www/owncloud/apps/user_otp/3rdparty/multiotp/multiotp.class.php#1996 2015-03-15T20:35:38+00:00

Reply to this


 No Seed accepted

 by romanSch on: Apr 10 2015
Score 50%


got the problem that oc does not accept any Seed. Even leaving it blank ist not working. While clicking "Create" nothing happens. No Error no reloading of the page, nothing. Do you have any suggestion?

Got OC Version 8.0.2

Greetz Roman

Reply to this


 Owncloud 8.0.2 PHP error

 by acc on: Apr 16 2015
Score 50%

Running on CentOS 7:

All pages go blank after enabling, disabling restores function.

Exception: {"Message":"Unable to generate a URL for the named route \"user_otp_list_users\" as such route does not exist.","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/private\/route\/router.php(282): Symfony\\Component\\Routing\\Generator\\UrlGenerator->generate('user_otp_list_u...', Array, false)\n#1 \/var\/www\/html\/owncloud\/lib\/private\/urlgenerator.php(42): OC\\Route\\Router->generate('user_otp_list_u...', Array)\n#2 \/var\/www\/html\/owncloud\/lib\/private\/helper.php(112): OC\\URLGenerator->linkToRoute('user_otp_list_u...', Array)\n#3 \/var\/www\/html\/owncloud\/lib\/public\/util.php(219): OC_Helper::linkToRoute('user_otp_list_u...', Array)\n#4 \/var\/www\/html\/owncloud\/apps\/user_otp\/appinfo\/app.php(83): OCP\\Util::linkToRoute('user_otp_list_u...')\n#5 \/var\/www\/html\/owncloud\/lib\/private\/app.php(386): require('\/var\/www\/html\/o...')\n#6 \/var\/www\/html\/owncloud\/settings\/ajax\/navigationdetect.php(9): OC_App::getAppNavigationEntries('user_otp')\n#7 \/var\/www\/html\/owncloud\/lib\/private\/route\/route.php(135) : runtime-created function(1): require_once('\/var\/www\/html\/o...')\n#8 [internal function]: __lambda_func(Array)\n#9 \/var\/www\/html\/owncloud\/lib\/private\/route\/router.php(250): call_user_func('?lambda_1098', Array)\n#10 \/var\/www\/html\/owncloud\/lib\/base.php(767): OC\\Route\\Router->match('\/settings\/ajax\/...')\n#11 \/var\/www\/html\/owncloud\/index.php(36): OC::handleRequest()\n#12 {main}","File":"\/var\/www\/html\/owncloud\/3rdparty\/symfony\/routing\/Symfony\/Component\/Routing\/Generator\/UrlGenerator.php","Line":134}

Anyone else see this?

Reply to this


 Re: Owncloud 8.0.2 PHP error

 by acc on: Apr 16 2015
Score 50%

Update: We are using LDAP. It looks like there still may be an issue with this configuration?

Reply to this


 Re: Owncloud 8.0.2 PHP error

 by ducpv on: Apr 22 2015
Score 50%

I have same problem and I don't know how to fix that. Does anyone can help us?

Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9 

Add commentBack

 Who we are
Add App
Public API
Legal Notice
Report Abuse

Copyright 2011-2015 Team  
All rights reserved. is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.