Last active
June 5, 2024 09:15
-
-
Save shaposhnikoff/6b6cca5bf882012f7b5f92f22174e96a to your computer and use it in GitHub Desktop.
links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://medium.com/@janvithakkar.583/implementing-serverless-api-with-amazon-api-gateway-lambda-function-and-amazon-cognito-user-pool-92ff44cc4949 | |
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-invoke-api-integrated-with-cognito-user-pool.html | |
Call the API with Cognito Credentials: | |
After integrating the user pool, users will need to sign in to Cognito and obtain a JSON Web Token (JWT). | |
When making API requests, users will include the JWT token in the "Authorization" header with the format "Bearer <token>". | |
API Gateway will validate the token with Cognito and grant access based on the user's permissions. | |
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment