The Teclado Blog

Handling the next URL when logging in with Flask

Learn how to redirect users to their intended destination after logging in, instead of a default "profile" page every time. Simple, but can have a big impact in user experience!

Protecting endpoints in Flask apps by requiring login

In this post we'll learn to prevent unauthorised logins to our Flask endpoints. We'll also look at decorators so that we can secure endpoints with a single line of code for each!

How to add user logins to your Flask website

Authentication (log in and sign up) can be tricky. In this blog post we'll guide you through adding it to a website or web app built entirely with Flask!

Simple JWT Authentication with Flask-JWT

Adding authentication in Flask applications can be really straightforward. Learn more about token-based authentication with Flask-JWT in this post.

What is CORS and how to "fix" it

CORS is a security feature of browsers, but is configured in the server side. It is used to control requests coming in from different domains. Learn more in this post!

The Teclado Blog © 2026