Skip to content

.NET Core Microservices - The Complete Guide [2026] - 6. Consuming Auth API

Tutor: Bhrugen Patel

Course Link

Section length: 13 lectures

← Previous: 5. Auth API | Course overview | Next: 7. Product API →

Summary

What this section covers, in a sentence or two.

Key Takeaways

Lecture Notes

Create Auth DTOs

Auth Service

Login and Register Templates

Login Action Method

Sign in using HttpContext

Login and Logout in Action

Token Service

Registeration in Action

Calling Coupon API will not work

Meaningful Error Message

Pass Token to Coupon API

Roles Demo

Extension Method

Diagram

flowchart LR
    A[Component] --> B[Component]

Code Snippets

// 

Questions and Follow-ups


← Previous: 5. Auth API | Course overview | Next: 7. Product API →