authentication-dotnet-cognito

Implement AWS Cognito authentication for Jarvis .NET 9 backend applications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual effort and boilerplate code required to implement AWS Cognito authentication for Jarvis .NET 9 backend applications, ensuring consistent, secure auth flows aligned with the Jarvis clean architecture framework.

Core Features & Use Cases

  • Pre-built Cognito Services: Includes ready-to-use CognitoClient and IAuthenticationService from the Jarvis.Authentications.Cognito package for standard authentication operations.
  • Streamlined DI Registration: Supports registration via Jarvis layer extensions, eliminating manual dependency injection configuration.
  • Secure Credential Handling: Guides users to store AWS credentials via IAM roles or environment variables, avoiding hardcoded secrets.
  • Use Case: For example, if you are building a multi-tenant Jarvis backend that requires user pool-based authentication, this Skill lets you add fully functional Cognito auth in minutes instead of writing custom integration code from scratch.

Quick Start

Use the authentication-dotnet-cognito skill to configure AWS Cognito user pool authentication for your Jarvis backend application by adding the required package reference and updating your app settings with your Cognito pool details.

Frequently Asked Questions about authentication-dotnet-cognito

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

FAQPage Schema
How do I integrate AWS Cognito authentication into an ASP.NET Core API?

Integrating AWS Cognito into an ASP.NET Core API is streamlined by adding the required package reference and updating app settings with Cognito pool details. Pre-built services handle token validation and user pool identity management without custom boilerplate.

Does the Jarvis clean architecture framework support AWS Cognito user pools?

The Jarvis clean architecture framework supports AWS Cognito user pools natively through layer extension registrations. It supplies ready-to-use CognitoClient and IAuthenticationService components for .NET 9 backend applications requiring secure user pool authentication.

What is the best way to configure AWS credentials for Cognito authentication in .NET?

Configuring AWS credentials for Cognito authentication is best achieved using IAM roles or environment variables. This secure handling method avoids hardcoded secrets and ensures safe access to AWS Cognito user pools within ASP.NET Core APIs.

Can I add user pool-based authentication to a multi-tenant Jarvis backend without writing custom code?

Adding user pool-based authentication to a multi-tenant Jarvis backend is possible without custom code by applying pre-built Cognito service registration. This configuration supplies fully functional authentication flows and token validation for ASP.NET Core APIs.

How do I register Cognito authentication services in a .NET 9 backend?

Registering Cognito authentication services in a .NET 9 backend is accomplished via Jarvis layer extensions, eliminating manual dependency injection configuration. This integrates the Jarvis.Authentications.Cognito package for standard authentication operations.