Spread Serverless Holiday Cheer with Lambda and API Gateway
Looking for something to work on for a few minutes? Why not build an API to spread some holiday cheer? Anyone can build a Lambda with JavaScript!
Spread Serverless Holiday Cheer with Lambda and API Gateway
Looking for something to work on for a few minutes? Why not build an API to spread some holiday cheer? Anyone can build a Lambda with JavaScript!
Eric Thomas
Thank you for this great tutorial; this is very similar to something I’m considering doing. Would I be able to secure my Lamda endpoints or, better still, the Amazon API Gateway using Okta based on a user’s roles?
Specifically, I’d like to set up Angular to run on S3 as a SPA and be able to use Okta to secure my back-end EU2 servers by simply blocking availability. Currently I’m using Lua on Ngnix with everything being stood up through docker and effectively on all one EU2 instance.
Thanks!
Nate Barbettini
This should be possible, although I haven’t tried it myself. If your backend servers look for an access token on incoming API requests, you can use okta-angular (https://www.npmjs.com/packa… to get an access token in the SPA.