auth0.com
Traveling Through
a Secure API with
Python and Auth0
2
Slide 2
Slide 2 text
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
Slide 3
Slide 3 text
auth0.com
Image placeholder
4
Traveling Through a Secure API with Python and Auth0
Slide 4
Slide 4 text
auth0.com
Image placeholder
5
What we will build
Traveling Through a Secure API with Python and Auth0
Slide 5
Slide 5 text
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
Slide 6
Slide 6 text
auth0.com
7
Show me the
code!
Slide 7
Slide 7 text
auth0.com
8
Show me the
code!
Slide 8
Slide 8 text
auth0.com
Image placeholder
9
1. GET /
2. GET /oops
Basic endpoints
Traveling Through a Secure API with Python and Auth0
Slide 9
Slide 9 text
auth0.com
10
● GET /
● GET /oops
Basic endpoints
Traveling Through a Secure API with Python and Auth0
Slide 10
Slide 10 text
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
Slide 11
Slide 11 text
auth0.com
12
12
● GET /
● GET /oops
● GET /ping
Protected endpoints
Traveling Through a Secure API with Python and Auth0
Slide 12
Slide 12 text
auth0.com
13
● GET /
● GET /oops
● GET /ping
● POST /places
Protected endpoints
Traveling Through a Secure API with Python and Auth0
Slide 13
Slide 13 text
auth0.com
14
Data Data Data
Slide 14
Slide 14 text
auth0.com
15
Data Data Data
Slide 15
Slide 15 text
auth0.com
16
Data
Traveling Through a Secure API with Python and Auth0
Slide 16
Slide 16 text
auth0.com
19
Loading data
Traveling Through a Secure API with Python and Auth0
Slide 17
Slide 17 text
auth0.com
20
Create a map
Traveling Through a Secure API with Python and Auth0
Slide 18
Slide 18 text
auth0.com
21
Add markers
Traveling Through a Secure API with Python and Auth0
Slide 19
Slide 19 text
auth0.com
22
Save updated data
Traveling Through a Secure API with Python and Auth0
Slide 20
Slide 20 text
auth0.com
23
Putting all together
Traveling Through a Secure API with Python and Auth0
Slide 21
Slide 21 text
auth0.com
24
Putting all together
Traveling Through a Secure API with Python and Auth0
Slide 22
Slide 22 text
auth0.com
25
Protection!
Slide 23
Slide 23 text
auth0.com
26
Protection!
Slide 24
Slide 24 text
auth0.com
27
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 25
Slide 25 text
auth0.com
28
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 26
Slide 26 text
auth0.com
29
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 27
Slide 27 text
auth0.com
30
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 28
Slide 28 text
auth0.com
31
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 29
Slide 29 text
auth0.com
32
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 30
Slide 30 text
auth0.com
33
Update the code
Traveling Through a Secure API with Python and Auth0
Slide 31
Slide 31 text
auth0.com
34
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 32
Slide 32 text
auth0.com
35
Create an API in Auth0
Traveling Through a Secure API with Python and Auth0
Slide 33
Slide 33 text
auth0.com
36
Deploy time!
Slide 34
Slide 34 text
auth0.com
37
Deploy time!
Slide 35
Slide 35 text
auth0.com
38
Update the code
Traveling Through a Secure API with Python and Auth0
Slide 36
Slide 36 text
auth0.com
39
Update the code
Traveling Through a Secure API with Python and Auth0
Slide 37
Slide 37 text
auth0.com
40
Create a new app in Heroku
Traveling Through a Secure API with Python and Auth0
Slide 38
Slide 38 text
auth0.com
42
Let's see how it
looks!
Slide 39
Slide 39 text
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