Validating Okta Access Tokens in PHP using AWS API Gateway and Lambda Authorizers

Validating Okta Access Tokens in PHP using AWS API Gateway and Lambda Authorizers

In this post we’ll cover how you can use Okta as the authentication and authorization layer of your REST API hosted in AWS Lambda, validating Okta access tokens using a Lambda authorizer function implemented in PHP.

I didn’t realize you could construct a curl call like this. It’s pretty darn elegant in comparison to what I’ve been using :slight_smile: ```
curl -X POST ‘https://Client-ID:Client-secret@your-okta-server/oauth2/default/v1/token’ -d grant_type=client_credentials -d scope=demo