DEV Community

Alex Pushkarev
Alex Pushkarev

Posted on

Adding authentication to Flask microservice | Software Architecture for beginners, part 4

How can you easily add authentication and authorization capabilities in a 3-layered Flask REST API? Welcome to the final lesson of my free "Software Architecture for Beginners" course.

Today we will:

1) Recap 3-layer software architecture pattern
1.1) Benefits of the 3-layer architecture
2) Learn the difference between authentication and authorization
3) Explore how authentication and authorisation logic fits into N-tier architecture
3.1) Where do you put the authentication and authorisation code?
4) Live coding demonstrating - Adding authentication and authorization

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more