PHP SDk admin requests always get forbidden response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Labels:
-
Admin APIs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
