# \#api-gateway

**URL:** https://community.auth0.com/tag/api-gateway/983.md

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

---

## [AuthHttpInterceptor doesn't add token to authorization header - Error 401 unauthorized - Angular](https://community.auth0.com/t/authhttpinterceptor-doesnt-add-token-to-authorization-header-error-401-unauthorized-angular/97652)

<div class="topic-metadata">

**Author:** [@antonia7](https://community.auth0.com/u/antonia7)\
**Replies:** 1\
**Last updated:** [January 13, 2023, 2:32pm UTC](https://community.auth0.com/t/authhttpinterceptor-doesnt-add-token-to-authorization-header-error-401-unauthorized-angular/97652 "2023-01-13T14:32:27Z")

</div>

Hi everyone, I need help with a problem adding token to the authorization header in an Angular HttpClient call, the token doesn’t work and I get a 401 “unauthorized” error. I followed this documentation to implement the…

---

## [Oauth2 integration in AWS API gateway](https://community.auth0.com/t/oauth2-integration-in-aws-api-gateway/76409)

<div class="topic-metadata">

**Author:** [@usman.raza](https://community.auth0.com/u/usman.raza)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 8:02pm UTC](https://community.auth0.com/t/oauth2-integration-in-aws-api-gateway/76409 "2022-01-14T20:02:28Z")

</div>

I am unable to find any article on how to integrate OAUTH 2.0 in AWS API GATEWAY. i did find one on how to integrate Auth0 in api gateway but not specifically for Auth0’s Oauth2 implementation.

---

## [The right way to call Auth0 APIs in a web app?](https://community.auth0.com/t/the-right-way-to-call-auth0-apis-in-a-web-app/50967)

<div class="topic-metadata">

**Author:** [@hirschtomer](https://community.auth0.com/u/hirschtomer)\
**Replies:** 3\
**Last updated:** [October 6, 2020, 3:27pm UTC](https://community.auth0.com/t/the-right-way-to-call-auth0-apis-in-a-web-app/50967 "2020-10-06T15:27:05Z")

</div>

Hey, I am planning to write an app that structured from: SPA - React app BFF - Backend for frontend (there is a chance that I will have another BFF for a react native consumer) Gateway - a single source of truth for m…

---

## [Auth0 with AWS Lambda, API Gateway and multiple regions](https://community.auth0.com/t/auth0-with-aws-lambda-api-gateway-and-multiple-regions/22459)

<div class="topic-metadata">

**Author:** [@rubenhak](https://community.auth0.com/u/rubenhak)\
**Replies:** 2\
**Last updated:** [March 12, 2019, 6:08pm UTC](https://community.auth0.com/t/auth0-with-aws-lambda-api-gateway-and-multiple-regions/22459 "2019-03-12T18:08:29Z")

</div>

Hi Everybody, My application is running on AWS using Lambdas and API Gateway. It also runs in multiple regions. Currently use Cognito for authentication. The problem is that it does not support multiple regions. I manag…

---

## [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 …
