Download the PHP package lmr/duo_auth without Composer

On this page you can find all versions of the php package lmr/duo_auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package duo_auth

Roundcube lmr/duo_auth

Version PHP

This is a Roundcube webmail plugin that enables Duo Security Two Factor Authentication using the modern Universal Prompt.

image

It redirects to Duo's secure authentication page after successful username/password authentication, requiring a 2nd Factor of Authentication using Duo Security (push, SMS, call, hardware token code).

🚀 What's New in v2.0.6

INSTALLATION

============

Prerequisites

Install via Composer

From the root directory of your Roundcube installation:

CONFIGURATION

=============

1. Configure Duo Settings

Copy and edit the configuration file:

Update with your Duo credentials from the Duo Admin Panel:

2. Configure PHP Session

Ensure your php.ini has:

MIGRATION FROM v1.x

==================

If upgrading from the legacy iframe-based version:

  1. Update Duo Application in Duo Admin Panel for Universal Prompt
  2. Update Configuration Format:
    • Old: duo_auth.conf → New: config.inc.php
    • ikeyduo_client_id
    • skeyduo_client_secret
    • hostduo_api_hostname
  3. Test with duo_failmode = 'open' first
  4. Switch to duo_failmode = 'secure' after verification

FEATURES

========

Three-Tier Bypass System

  1. Global User Bypass - Specific users skip Duo from any location
  2. Global IP Bypass - All users skip Duo from trusted networks
  3. Conditional Bypass - Specific users from specific IPs only

Advanced Options

TROUBLESHOOTING

===============

Check Logs

Test Configuration

Common Issues

Problem Solution
500 Error Check PHP error logs, ensure Composer dependencies installed
"Client ID not found" Verify credentials in config.inc.php
Bypass not working Check IP detection, enable debug logging
Session timeout Adjust duo_session_timeout in config

CREDITS

=======

Author: Alexios Polychronopoulos - Original duo_auth for Roundcube

Author: Leonardo Mariño-Ramírez - Updated for Roundcube 1.3.0+ compatibility, v2.0.0 Universal Prompt migration

Author: Johnson Chow - Added IPv4 CIDR matching and user-specific 2FA override

Author: Pavlo Lyha - Rewrote plugin for Duo Web v4 SDK compatibility

LICENSE

=======

This project is licensed under the GPL-3.0-or-later License - see the LICENSE file for details.

SUPPORT

=======

CHANGELOG

=========

v2.0.6 (2026-04-11)

v2.0.5 (2026)

v2.0.4 (2025)

v1.0.9 (2023)

v1.0.8 (2023)

v1.0.3 (2020)

v1.0.0 (2019)


⚠️ Important: The traditional Duo Prompt (iframe-based) reached end of support on March 30, 2024. All installations must use Universal Prompt (SDK v4).


All versions of duo_auth with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4 || ^8.0
ext-json Version *
ext-curl Version *
ext-openssl Version *
ext-filter Version *
roundcube/plugin-installer Version ^0.3 || ^0.4
duosecurity/duo_universal_php Version ^1.0.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lmr/duo_auth contains the following files

Loading the files please wait ...