Search⌘ K
AI Features

Challenge: Restricting Write Requests

Understand how to restrict write requests to secure web API endpoints by allowing only registered users to add records. Learn to correctly pass bearer tokens from the MVC client and fix authentication settings in the ASP.NET Core API for proper token validation.

We'll cover the following...

Overview

In this challenge, you will need to apply security to web API endpoints and correctly pass a bearer token to it.

Requirements

In the playground below, you have a web API application represented by the SecondaryApiApp project that stores information about ...