Skip to content

Conversation

@jeffreyparker
Copy link
Contributor

@jeffreyparker jeffreyparker commented Jan 21, 2026

Description

The example had a few minor issues:

  • On first website load, a few PHP error messages were displayed in the HTML. These are now fixed.
  • The PHP Dev server encourages accessing the example site using 0.0.0.0:8080, but the example must be accessed using localhost:8080 to preserve the session, since that's the redirect_uri in the sample duo.conf. The example app will now auto-redirect to localhost to prevent this error scenario.
  • One of the required dependency updates no longer supports PHP7. Removed PHP 7.4 - 8.1 from CI, as they are all EOL.

Motivation and Context

Better quality-of-life when using the example app

How Has This Been Tested?

Tested example locally.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

…ect to localhost.

The PHP development server prints a log message that the server is running on 0.0.0.0:8080.
But the server must be accessed using localhost:8080 for proper session management.
@jeffreyparker jeffreyparker merged commit 255fda6 into main Jan 22, 2026
5 checks passed
@jeffreyparker jeffreyparker deleted the fix_example_3 branch January 22, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants