Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Traveling Through a Secure API with Python and Auth0

Traveling Through a Secure API with Python and Auth0

I like to remember the places I have been and I always liked the idea of having a map of those places, so as any developer would do, I built a web application for that.

In this talk, we will see how you can use Python and Auth0 together to build your very own "Where Have I Been" map! I will walk you through all the steps we will need starting from scratch. From building the first API endpoints, protecting the endpoints that create new markers, all the data manipulation, and even deployment!

35beca46843e4adcbd43df1bc93ce38b?s=128

Jessica Temporal

August 24, 2021
Tweet

Transcript

  1. auth0.com Traveling Through a Secure API with Python and Auth0

    2
  2. auth0.com Auth0 Pizza de Dados Data Bootcamp LinkedIn Learning 3

    Traveling Through a Secure API with Python and Auth0 Hello! Jess Temporal Sr. Developer Advocate @jesstemporal
  3. auth0.com Image placeholder 4 Traveling Through a Secure API with

    Python and Auth0
  4. auth0.com Image placeholder 5 What we will build Traveling Through

    a Secure API with Python and Auth0
  5. auth0.com Image placeholder 6 1. 4 endpoints with Flask 2.

    Some data manipulation with Pandas 3. Protect endpoints with Auth0 4. Deploy to Heroku What we will build Traveling Through a Secure API with Python and Auth0
  6. auth0.com 7 Show me the code!

  7. auth0.com 8 Show me the code!

  8. auth0.com Image placeholder 9 1. GET / 2. GET /oops

    Basic endpoints Traveling Through a Secure API with Python and Auth0
  9. auth0.com 10 • GET / • GET /oops Basic endpoints

    Traveling Through a Secure API with Python and Auth0
  10. auth0.com Image placeholder 11 1. GET / 2. GET /oops

    3. GET /ping 4. POST /places Protected endpoints Traveling Through a Secure API with Python and Auth0
  11. auth0.com 12 12 • GET / • GET /oops •

    GET /ping Protected endpoints Traveling Through a Secure API with Python and Auth0
  12. auth0.com 13 • GET / • GET /oops • GET

    /ping • POST /places Protected endpoints Traveling Through a Secure API with Python and Auth0
  13. auth0.com 14 Data Data Data

  14. auth0.com 15 Data Data Data

  15. auth0.com 16 Data Traveling Through a Secure API with Python

    and Auth0
  16. auth0.com 19 Loading data Traveling Through a Secure API with

    Python and Auth0
  17. auth0.com 20 Create a map Traveling Through a Secure API

    with Python and Auth0
  18. auth0.com 21 Add markers Traveling Through a Secure API with

    Python and Auth0
  19. auth0.com 22 Save updated data Traveling Through a Secure API

    with Python and Auth0
  20. auth0.com 23 Putting all together Traveling Through a Secure API

    with Python and Auth0
  21. auth0.com 24 Putting all together Traveling Through a Secure API

    with Python and Auth0
  22. auth0.com 25 Protection!

  23. auth0.com 26 Protection!

  24. auth0.com 27 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  25. auth0.com 28 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  26. auth0.com 29 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  27. auth0.com 30 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  28. auth0.com 31 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  29. auth0.com 32 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  30. auth0.com 33 Update the code Traveling Through a Secure API

    with Python and Auth0
  31. auth0.com 34 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  32. auth0.com 35 Create an API in Auth0 Traveling Through a

    Secure API with Python and Auth0
  33. auth0.com 36 Deploy time!

  34. auth0.com 37 Deploy time!

  35. auth0.com 38 Update the code Traveling Through a Secure API

    with Python and Auth0
  36. auth0.com 39 Update the code Traveling Through a Secure API

    with Python and Auth0
  37. auth0.com 40 Create a new app in Heroku Traveling Through

    a Secure API with Python and Auth0
  38. auth0.com 42 Let's see how it looks!

  39. auth0.com The code 48 That's all for today! Jess Temporal

    Sr. Developer Advocate @jesstemporal Traveling Through a Secure API with Python and Auth0
  40. None