This example shows how to build a simple PHP API that demonstrates the difference between validating access tokens locally vs remotely.
Please read Protecting a PHP API using OAuth to see how this application was built.
Prerequisites: PHP, Composer, an Okta developer account
Clone this project using the following commands:
git clone php-api-oauth-sample.git
cd php-api-oauth-sample
Please refer to the complete blog post for the full tutorial.
Please post any questions as comments on the blog post, or visit our Okta Developer Forums.