Skip to content

Roundcube plugin to add existing PrivacyIdea HOTP/TOTP tokens to the login process

License

Notifications You must be signed in to change notification settings

avatastic79/roundcube-privacyidea-otp-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miskatonic_cymru/privacyidea_otp

This is a quick and dirty plugin for Roundcube Webmail, which adds input fields for a PIN and OTP to the Roundcube login page, and adds a verification check against a PrivacyIdea server.

This requires an existing PrivacyIdea installation, and HOTP/TOTP tokens to already be created, and a PHP installation with cURL support enabled.

Configuration

Set the url of your PrivacyIdea server in config.inc.php

$rcmail_config['privacyidea_api_url'] = 'https://privacyidea.example.org';

Optionally, set the realm the tokens have been created in.

$rcmail_config['privacyidea_api_realm'] = 'roundcube';

Installation

Clone the repository in to your roundcube plugins directory

git clone https://github.com/avatastic79/roundcube-privacyidea-otp-plugin privacyidea_otp

Activate the plugin in the roundcube/config/config.inc.php

$config['plugins'] = array('privacyidea_otp');

Sample

About

Roundcube plugin to add existing PrivacyIdea HOTP/TOTP tokens to the login process

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages