Skip to main content
net10.0

Test identity provider for Koan Web Auth: local login UI, token issuance for demos, and development-only wiring.

Published
Jun 12, 2026
4mo ago
Total Downloads
4.4K
4,430

Install

dotnet add package Sylin.Koan.Web.Auth.Connector.Test --version 0.17.0
ProductVersions
.NET
net10.0

README

Sylin.Koan.Web.Auth.Connector.Test

A test/dummy auth provider useful for local and CI scenarios.

Install

dotnet add package Sylin.Koan.Web.Auth.Connector.Test

Notes

  • Issues a deterministic ClaimsPrincipal for testing flows.
  • Dev login UI at /.testoauth/login.html lets you set roles, permissions, and arbitrary claims; persists to LocalStorage (persona export/import supported).
  • You can also pass extras via query: roles=admin,author&perms=content:write&claim.department=ENG&claim.scope=read&claim.scope=write.
  • Use only in non-production environments.

Prompts and cookies

  • To force the login UI even if a previous TestProvider session exists, add prompt=login (or prompt=select_account) to the authorize request.
  • Logging out from the app clears the development _tp_user cookie so subsequent auth flows won't auto-approve.

See TECHNICAL.md for details.

Changes from Previous Version

No structural changes between v0.8.0 and v0.17.0.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.