# \#lambda

**URL:** https://community.auth0.com/tag/lambda/704.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Using Auth0-React SDK with Lambda](https://community.auth0.com/t/using-auth0-react-sdk-with-lambda/53697)

<div class="topic-metadata">

**Author:** [@markm](https://community.auth0.com/u/markm)\
**Replies:** 5\
**Last updated:** [January 5, 2021, 12:30am UTC](https://community.auth0.com/t/using-auth0-react-sdk-with-lambda/53697 "2021-01-05T00:30:28Z")

</div>

The Auth0-React SDK seems to simplify what is the fairly complicated process of setting up OAuth inside a React application. The tutorials that exist show how to setup the React side, but following this tutorial it link…

---

## [Send user to Auth0 Login in AWS Lambda Function | Api Gateway with Custom Authorizer](https://community.auth0.com/t/send-user-to-auth0-login-in-aws-lambda-function-api-gateway-with-custom-authorizer/50410)

<div class="topic-metadata">

**Author:** [@wajeehulhassan](https://community.auth0.com/u/wajeehulhassan)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 2:51am UTC](https://community.auth0.com/t/send-user-to-auth0-login-in-aws-lambda-function-api-gateway-with-custom-authorizer/50410 "2020-09-25T02:51:48Z")

</div>

Hi! I want to put authentication at AWS Api Gateway for which I attached the Custom Authorizer to the AWS Api Gateway. However I couldn’t figure out how to send user to the login screen if they are not authorized and how…

---

## [Hitting AWS API Gateway endpoint in Hook getting error in response](https://community.auth0.com/t/hitting-aws-api-gateway-endpoint-in-hook-getting-error-in-response/14579)

<div class="topic-metadata">

**Author:** [@gintomm](https://community.auth0.com/u/gintomm)\
**Replies:** 3\
**Last updated:** [August 24, 2018, 5:07pm UTC](https://community.auth0.com/t/hitting-aws-api-gateway-endpoint-in-hook-getting-error-in-response/14579 "2018-08-24T17:07:15Z")

</div>

Hi All, I’m trying to setup a post registration hook, so once a user registers it hits a lambda function. The lambda function works fine as tested via the AWS console. I’ve installed the request npm module so I can do …

---

## [Lambda Custom Authorizer - Error: Auth0 empty return](https://community.auth0.com/t/lambda-custom-authorizer-error-auth0-empty-return/11309)

<div class="topic-metadata">

**Author:** [@bror](https://community.auth0.com/u/bror)\
**Replies:** 3\
**Last updated:** [May 2, 2018, 4:00pm UTC](https://community.auth0.com/t/lambda-custom-authorizer-error-auth0-empty-return/11309 "2018-05-02T16:00:00Z")

</div>

I have built an AWS Lambda custom authorizer based on: GitHub - auth0-samples/jwt-rsa-aws-custom-authorizer: An AWS Custom Authorizer for AWS Gateway that support Auth0 Bearer tokens. · GitHub. It works locally, but when…

---

## [AWS Lambda and API Gateway: How to get a user's Twitter access token key/access token secret from its sub ID?](https://community.auth0.com/t/aws-lambda-and-api-gateway-how-to-get-a-users-twitter-access-token-key-access-token-secret-from-its-sub-id/8438)

<div class="topic-metadata">

**Author:** [@behrangsa](https://community.auth0.com/u/behrangsa)\
**Replies:** 1\
**Last updated:** [October 10, 2017, 7:16pm UTC](https://community.auth0.com/t/aws-lambda-and-api-gateway-how-to-get-a-users-twitter-access-token-key-access-token-secret-from-its-sub-id/8438 "2017-10-10T19:16:07Z")

</div>

When adding authentication to an AWS Lambda function using a Custom Authorizer, the authorizer will create an IAM policy with a principal ID that according to this example, the principal ID should be set to the Auth0 sub …

---

## [Any have a SAM Local tutorial for custom authorizer in Lambda](https://community.auth0.com/t/any-have-a-sam-local-tutorial-for-custom-authorizer-in-lambda/8390)

<div class="topic-metadata">

**Author:** [@dima.kovalenko](https://community.auth0.com/u/dima.kovalenko)\
**Replies:** 0\
**Last updated:** [October 5, 2017, 3:11am UTC](https://community.auth0.com/t/any-have-a-sam-local-tutorial-for-custom-authorizer-in-lambda/8390 "2017-10-05T03:11:33Z")

</div>

I’m setting up a proof of concept Hello World page using API Gateway, Lambda, and SAM Local to do all of the configuration. Been following this tutorial: Secure AWS API Gateway Endpoints Using Custom Authorizers - Auth0…

---

## [How to retrieve user id when using AWS Cognito and Api Gateway?](https://community.auth0.com/t/how-to-retrieve-user-id-when-using-aws-cognito-and-api-gateway/7298)

<div class="topic-metadata">

**Author:** [@nathan1](https://community.auth0.com/u/nathan1)\
**Replies:** 0\
**Last updated:** [June 28, 2017, 8:07am UTC](https://community.auth0.com/t/how-to-retrieve-user-id-when-using-aws-cognito-and-api-gateway/7298 "2017-06-28T08:07:17Z")

</div>

We've been following the AWS Cognito Tutorial and authentication is working fine. We're able to invoke a Lambda function via the API Gateway after authentication. However, we now want to retrieve the user id / email (or …

---

## [AWS Cognito Token Delegation](https://community.auth0.com/t/aws-cognito-token-delegation/7283)

<div class="topic-metadata">

**Author:** [@nathan1](https://community.auth0.com/u/nathan1)\
**Replies:** 0\
**Last updated:** [June 27, 2017, 3:22pm UTC](https://community.auth0.com/t/aws-cognito-token-delegation/7283 "2017-06-27T15:22:38Z")

</div>

I’m using AWS Cognito User Pools with API Gateway and Lambda. I would like to use the Cognito User pools federated identity providers to use Auth0 as the IdP. User pool sign-in with third party identity providers - Amaz…
