Building Authenticated Serverless JAMstack Apps with Gatsby and Netlify

Let’s see how we can incrementally add functionality to a Gatsby static site with Netlify Functions, and then add authentication with Netlify Identity to create a proper Gatsby app. We’ll gradually build up to a full working demo with:

  • :wave:t3:Dynamic Clientside Pages in Gatsby
  • :train:Serverless Functions (with Netlify Dev)
  • 🕵🏼‍♂️Hide API Secrets from being exposed to Frontend
  • :lock_with_ink_pen:Authentication (with Netlify Identity)
  • :house:Protected Routes
  • :closed_lock_with_key:Authenticated Serverless Functions (why not!)
  • :heart_eyes_cat:External Provider login with GitHub, Bitbucket, Google, etc.
1 Like