Use JWT Authorizers with Amazon Cognito and API Gateway

Focus Otter
Focus Otter
51.1 هزار بار بازدید - 3 سال پیش - HTTP endpoints in API Gateway
HTTP endpoints in API Gateway have the ability to secure resources by first validating a JWT token.

In this example, we'll use Amazon cognito's hosted UI to to create a JWT and configure an API Gateway to only provide a lambda response if it's valid.

cognito issuer endpoint:
https://cognito-idp.your-region.amazo...

grabbing the jwt from the url:
location.href.split('=')[1].split('&')[0]
3 سال پیش در تاریخ 1400/01/17 منتشر شده است.
51,178 بـار بازدید شده
... بیشتر