Dear Tim, Where am I at? Online votes count! Do your part! Yeah so I've figured out how to pass in an authorization token from the API Gateway into a python Lambda function; it turned out to be really simple: user_id = event['requestContext']['authorizer']['claims']['sub'] constituency_id = event['requestContext']['authorizer']['claims']['custom:constituency'] Yep, turns out the event holds all that data … Continue reading Who cares for the NHS really…
Tag: api
Ring the Doorbell
Dear Tim, I had a conversation with a friend of mine today about the current status of Kalmany. Part of it was because I finished the work I needed to do in the API gateway to get the API responding and integration, and we had a quick discussion on that part of the system. As … Continue reading Ring the Doorbell
As you Want it, Sometimes
Dear Tim, No visible work today, it's been more research. I bet you're already wondering, if I'm building a react frontend for Kalmany, why am I writing a blog in wordpress and not building my own fancy website for collating my thoughts? The answer is simple: I don't feel like spending hours building what is … Continue reading As you Want it, Sometimes
