An open API service indexing awesome lists of open source software.

https://github.com/owncloud/twofactor_totp

🔑 Second factor TOTP (Google Authenticator) provider for ownCloud
https://github.com/owncloud/twofactor_totp

owncloud-app

Last synced: 12 months ago
JSON representation

🔑 Second factor TOTP (Google Authenticator) provider for ownCloud

Awesome Lists containing this project

README

          

# Two Factor Totp
[![Build Status](https://drone.owncloud.com/api/badges/owncloud/twofactor_totp/status.svg?branch=master)](https://drone.owncloud.com/owncloud/twofactor_totp)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=owncloud_twofactor_totp&metric=alert_status)](https://sonarcloud.io/dashboard?id=owncloud_twofactor_totp)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=owncloud_twofactor_totp&metric=security_rating)](https://sonarcloud.io/dashboard?id=owncloud_twofactor_totp)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=owncloud_twofactor_totp&metric=coverage)](https://sonarcloud.io/dashboard?id=owncloud_twofactor_totp)

Tested with the following apps:
* [OTP Authenticator](https://github.com/0xbb/otp-authenticator) (open source) which can be downloaded from [F-Droid](https://f-droid.org/repository/browse/?fdfilter=totp&fdid=net.bierbaumer.otp_authenticator) and has a built-in QR-code reader.
* [Google Authenticator](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2) (proprietary)
* [Twilio Authy](https://authy.com/) (proprietary)

## Enabling TOTP 2FA for your account
![](https://raw.githubusercontent.com/owncloud/twofactor_totp/stable9.1/screenshots/settings.png)
![](https://raw.githubusercontent.com/owncloud/twofactor_totp/22056c405b5ebd39d2ed528291480d4c2959504b/screenshots/verify.jpg)

## Running tests
You can use the provided Makefile to run all tests by using:

make test

This will run the PHP unit and integration tests and if a package.json is present in the **js/** folder will execute **npm run test**

Of course you can also install [PHPUnit](http://phpunit.de/getting-started.html) and use the configurations directly:

phpunit -c phpunit.xml

or:

phpunit -c phpunit.integration.xml

for integration tests