On the creation of a secure ‘serverless’ workflow between a Mapbox frontend and a SalesForce backend for the Tekkatho Foundation

Mike Jones, Independent Researcher

On the creation of a secure ‘serverless’ workflow between a Mapbox frontend and a SalesForce backend. The brief was to design an interactive map with markers and pop-ups to indicate the location of Tekkatho Foundation libraries in Myanmar, and to display site information and photos on the Foundation’s website map. The Tekkatho Foundation is a UK charity that provides offline digital libraries to universities and schools where access to resources and infrastructure is very limited. In this talk I describe a workflow which processes data obtained from the Foundation’s SalesForce CRM, through Amazon Lambda, serving it via an AWS API REST Gateway to a Mapbox interactive map on a Wix hosted website. I describe how I coerced AWS’s KMS to securely provide Lambda with the credentials to access SalesForce via its OAuth JWT bearer token flow. I cover site origin issues encountered when serving the GeoJSON data to the Mapbox client-side JavaScript and the remedy. I discuss caching options implemented for the GeoJSON data and the Foundation’s images.

One Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s