NuxtIdentity.Core 0.0.8

dotnet add package NuxtIdentity.Core --version 0.0.8
                    
NuGet\Install-Package NuxtIdentity.Core -Version 0.0.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NuxtIdentity.Core" Version="0.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NuxtIdentity.Core" Version="0.0.8" />
                    
Directory.Packages.props
<PackageReference Include="NuxtIdentity.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NuxtIdentity.Core --version 0.0.8
                    
#r "nuget: NuxtIdentity.Core, 0.0.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NuxtIdentity.Core@0.0.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NuxtIdentity.Core&version=0.0.8
                    
Install as a Cake Addin
#tool nuget:?package=NuxtIdentity.Core&version=0.0.8
                    
Install as a Cake Tool

Nuxt Identity

Build NuGet .NET 10 License: MIT

The Nuxt Identity project aims to be the .NET developer's companion to @sidebase/nuxt-auth. If you're developing a web application with a Nuxt frontend, and a .NET backend, the Nuxt Identity project will provide .NET libraries you can add to your application to get started quickly. Built on ASP.NET Core Identity, this project bridges the gap between .NET and Nuxt for auth and identity.

Why?

Why are we doing this instead of using something that's already out there?

  • ๐ŸŽฏ Specific niche: .NET Identity works great, but it doesn't "speak nuxt-auth" out of the box
  • ๐Ÿงน Reduces boilerplate: Developers won't need to figure out JWT token formats, refresh token flows, and endpoint structures that nuxt-auth expects
  • ๐Ÿ”Œ Pre-configured endpoints: Will provide drop-in-ready API controllers that match what nuxt-auth providers expect
  • ๐Ÿ”’ Type safety bridge: Will include TypeScript types for the frontend that match the backend .NET models

Features

Nuxt Identity aims to be a thin library, focused on moving data between .NET Identity and @sidebase/nuxt-auth. Here's what it's doing:

  • ๐Ÿ” JWT handling: Setting up JWT token creating and validation with security best practices.
  • ๐Ÿ”Œ API endpoints: Supplying the expected endpoints, translating those requests into .NET Identity system calls, and returning the results in the expected form.
  • โš ๏ธ Error handling: Surfacing RFC 7807 compliant error responses with ProblemDetails middleware for better API consistency.
  • ๐Ÿ“Š Structured logging: High-performance logging for authentication events and troubleshooting.
  • ๐Ÿ‘ค Role/claim visibility: Surfacing user's roles and claims in auth tokens and in the user session.
  • ๐Ÿ”„ Refresh tokens: .NET Identity doesn't handle refresh tokens at all, so a big part of this libraries work is storing and validating those with automatic rotation.

High-Level Flow

sequenceDiagram
    participant User
    participant Nuxt as Nuxt Frontend
    participant Auth as @sidebase/nuxt-auth (local)
    participant API as NuxtIdentity
    participant Identity as ASP.NET Core Identity

    User->>Nuxt: Enter credentials
    Nuxt->>Auth: signIn(credentials)
    Auth->>API: POST /api/auth/login
    API->>Identity: ValidateUser(credentials)
    Identity-->>API: User validated
    API-->>Auth: JWT token + user info
    Auth-->>Nuxt: Session established
    Nuxt-->>User: Logged in

What's coming?

  • ๐Ÿ“ฆ NuGet packages developers can drop in
  • ๐Ÿ”Œ Pre-built endpoints matching nuxt-auth's credential/refresh token providers
  • ๐Ÿ“š Clear examples for both .NET and Nuxt sides
  • โšก Minimal config - sensible defaults that "just work"
  • ๐Ÿ” Security best practices baked in
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NuxtIdentity.Core:

Package Downloads
NuxtIdentity.AspNetCore

ASP.NET Core integration for Nuxt Identity with JWT authentication controllers and middleware

NuxtIdentity.EntityFrameworkCore

Entity Framework Core implementation of refresh token storage for Nuxt Identity

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.8 104 1/31/2026
0.0.7 129 1/26/2026
0.0.5 112 1/25/2026
0.0.4 117 1/25/2026
0.0.3 109 1/24/2026
0.0.2 106 1/24/2026
0.0.1 146 1/18/2026

969b615 feat!: add GUID key to refresh tokens for safe logging
1c19d96 feat(efcore): add detailed refresh token logging
97a0acc feat!: don't require login for refresh token
3b65e00 fix(core): properly respect token lifespan