Skip to content

rbickel/AWS.Lambda.OpenIdAuthorizer

Repository files navigation

AWS.Lambda.OpenIdAuthorizer

  1. Deploy the Lambda from market place
  2. Edit the lambda environment variables with your audience, issuer, and openidconnect endpoint

Env variables

  1. Create an Authorizer for your API Gateway that reference your Lamdba
  2. Precise which header to forward to the Lamdba as authorization token. Warning, this should be the full token, no "bearer ' prefix.

Authorizer

  1. Test the authorizer by passing a valid / and invalid bearer token. A valid token should return "Effect": "Allow" while an invalid token "Effect": "Deny"

Valid token

  1. Apply the authorizer to the endpoints that require a valid token

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages