In this video you learn how to secure your API Gateway with an existing Cognito User Pool. Thanks for watching! Instagram: / devspot.blog Twitter: / devspot_blog
Thanks for those videos, could you make an video on how to actually deploy the webpage somwhere, not on localhost?
@devspot3864
Жыл бұрын
I am making a video on this right now actually. I'll show you how to make a CICD Piepline and host the site in an s3 bucket. Hopefully this weekend I'll get the video up.
@mateuszmazurek2185
Жыл бұрын
@@devspot3864 Thank You! Looking forward to that! I have followed all the previous tutorials, and now I only lack that JWT token to make everything work
@devspot3864
Жыл бұрын
Check my reply to your other question. I linked you some documentation that shows you what to do. You need to use Auth.currentAuthenticatedUser
@mateuszmazurek2185
Жыл бұрын
@@devspot3864 I solved it thanks! I tried to put my code here in comments for others, but I think youtube removes all my comments with code
@sainthokaha5630
10 ай бұрын
Can you please make a video of how you hosted this particular portfolio website online
@devspot3864
10 ай бұрын
Checkout my video on AWS codepipeline CICD. That video shows how you can host a site on s3. I am working on a video currently on how to use Amplify as well.
@Weagle1337
2 жыл бұрын
Hii, good video!, can I get the token data in the lambda?
@devspot3864
2 жыл бұрын
Thank you! And yes you can. You can either configure the lambda to handle the token data directly or you could send token data in the header or body of the request. I guess it depends on the security you are looking for. I could put together a video on how to go about doing that 🤙🤙
@mateuszmazurek2185
Жыл бұрын
Where can I get the JWT token to put in header from?
@devspot3864
Жыл бұрын
You should use the currentAuthenticatedUser method to get all info on the user. So import 'Auth' from 'aws-amplfiy' and then call Auth.currentAuthenticatedUser
Пікірлер: 12