06-16-2023 01:13 PM
I am unable to make admin requests using the PHP SDK. It always sends forbidden messages in the response. The auth requests, however, work fine. Any thoughts?
07-06-2023 08:50 AM
Hi @Thiago_Oliveira ,
If you are using the PHP SDK for either the Traditional (GitHub - duosecurity/duo_php: Duo two-factor authentication for PHP web applications) or Universal (GitHub - duosecurity/duo_universal_php: Duo OIDC-based two-factor authentication for PHP web applications) Prompt, then only authentications are used with these. To perform administrative requests relative to your Duo tenant, please reference the Admin API as it also has a PHP client for this use: GitHub - duosecurity/duo_api_php
Hope this helps!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Log in to Community