net10.0
Test identity provider for Koan Web Auth: local login UI, token issuance for demos, and development-only wiring.
Published
May 16, 2026
5mo ago
Total Downloads
4.4K
4,430
Install
dotnet add package Sylin.Koan.Web.Auth.Connector.Test --version 0.8.0
| Product | Versions |
|---|---|
| .NET |
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.htmllets 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(orprompt=select_account) to the authorize request. - Logging out from the app clears the development
_tp_usercookie so subsequent auth flows won't auto-approve.
See TECHNICAL.md for details.
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.