authentication-dotnet

Configure JWT Bearer, API Key, and AWS Cognito authentication for ASP.NET Core Jarvis applications.

12|2|Updated May 4, 2020
One-click install
npx skills add https://github.com/hoangnh2412/jarvis --skill authentication-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: authentication-dotnet
Source: https://github.com/hoangnh2412/jarvis/tree/main/.opencode/skills/authentication-dotnet
Command: npx skills add https://github.com/hoangnh2412/jarvis --skill authentication-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually configuring authentication for ASP.NET Core applications built with the Jarvis framework is time-consuming and prone to misconfiguration, especially when implementing multiple authentication schemes like JWT Bearer, API Key, or AWS Cognito. This skill eliminates that overhead by providing standardized, step-by-step guidance for all required setup steps.

Core Features & Use Cases

  • Multi-scheme authentication support: Guides setup of JWT Bearer for token-based API auth, API Key for header-based client access, and AWS Cognito for AWS user pool integration.
  • End-to-end workflow guidance: Includes checklists for both initial authentication setup and adding new authentication schemes to existing Jarvis Host projects.
  • Ready-to-use templates: Provides pre-written code snippets for Program.cs and appsettings.json configuration to reduce manual coding effort.
  • Use case: A development team building a new Jarvis-based e-commerce API can use this skill to quickly enable JWT authentication for user endpoints and API Key auth for third-party payment gateway access, with built-in validation steps to ensure correct configuration.

Quick Start

Use the authentication-dotnet skill to configure JWT Bearer authentication for your new Jarvis ASP.NET Core Host project, including all required dependency injection registrations, middleware pipeline setup, and appsettings configuration.

Frequently Asked Questions about authentication-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure JWT authentication in an ASP.NET Core API?

Configuring JWT authentication in ASP.NET Core requires registering authentication services via dependency injection, setting up the middleware pipeline in Program.cs, and defining the appsettings schema. This skill provides ready-to-use templates for that exact setup in Jarvis framework projects.

How do I set up AWS Cognito authentication for an ASP.NET Core backend?

Setting up AWS Cognito authentication for an ASP.NET Core backend involves integrating AWS user pools into your auth scheme. This skill guides you through the dependency injection registration and middleware configuration required to add Cognito as an authentication scheme.

Can I use API Key header authentication alongside JWT in ASP.NET Core?

Yes, you can use API Key header authentication alongside JWT in ASP.NET Core by implementing multiple authentication schemes. This skill supports multi-scheme setups to enable both token-based API auth and header-based client access control.

What is the best way to add authentication to a Jarvis ASP.NET Core Host project?

The best way to add authentication to a Jarvis ASP.NET Core Host project is to use standardized step-by-step guidance for scheme registration. This skill provides end-to-end workflow checklists and code snippets for Program.cs and appsettings configuration.

Does this authentication setup include Swagger security scheme integration for ASP.NET Core?

Yes, this authentication setup includes Swagger security scheme integration for ASP.NET Core. It satisfies the requirements for dependency injection registration of authentication services, middleware configuration, and Swagger setup to ensure correct API protection.