Challenge: Implementing Authentication

Test your understanding of authentication in a Beego application.

This challenge tests the understanding of authenticating CRUD API requests.

Problem statement

We’ll add authentication to the TODO application we created in the last challenge.

In this challenge, you are tasked with implementing authentication and session management for the TODO application we created in the last challenge. The goal is to ensure that users can sign up, log in, log out, and access the CRUD APIs based on their authentication status. There is a widget at the end of the lesson where you can add your implementation and test it.

The user model is defined as follows:

Get hands-on with 1400+ tech skills courses.