cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1694
Views
0
Helpful
0
Replies

Trouble with DUO_PHP package from GITHub

twolsey1
Level 1
Level 1

Hello
I have done a clone and install of the duo_php package from GITHub.
https://github.com/duosecurity/duo_php

I have setup a WEB SDK application in my DUO applications. I have copied the IKEY, SKEY, Host and created an AKEY and inserted them into duo_php\demos\simple-v2\index.php as per the instructions on GITHub.

When I try to run the above php page on my demo server, I receive the following error…

Fatal error : Uncaught Error: Class ‘DuoAPI\Frame’ not found in C:\xampp\htdocs\duo_php\demos\simple-v2\index.php:35 Stack trace: #0 {main} thrown in C:\xampp\htdocs\duo_php\demos\simple-v2\index.php on line 35

This is line 35 in the PHP file

$client = new \DuoAPI\Frame(
IKEY,
SKEY,
HOST,
null,
true,
\DuoAPI\SIGNATURE_CANON_JSON_STRING_BODY
);

Besides this question, what more do I need to do to make this authenticate with DUO.

Thanks for the help
Tony

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links