{"repo":"mini-software/MiniAuth","free":true,"listed":false,"github":"https://github.com/mini-software/MiniAuth","clone":"git clone https://github.com/mini-software/MiniAuth.git","description":"[Beta Status]Plugin Identity Auth System in ONE Line of Code for your project (Like Swagger)","language":"C#","stars":131,"topics":["authentication","dotnet","jwt","minimal"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"--- English 简体中文 繁體中文 日本語 한국어 Español --- Your Star , Donate , Recomm. can make MiniAuth better Introduction \"One-line code\" adds asp.net core identity user/role management web for your new/old projects Features - Compatibility: Supports .NET identity Based on JWT, Cookie, Session, etc. - Simple: Plug-and-play design, API, SPA, MVC, Razor Page, etc. - Supports multiple databases: Supports Oracle, SQL Server, MySQL, etc. EF Core - Non-intrusive: Does not affect existing databases or project structures - Multi-platform: Supports Linux, macOS environments Installation Install the package from NuGet Quick Start Add a single line of code services.AddMiniAuth() in Startup, then run your project. Example: The default admin account is admin@mini-software.github.io with the password E7c4f679-f379-42bf-b547-684d456bc37f (remember to change the password). The admin page can be accessed at http(s)://yourhost/miniauth/index.html . Add [Authorize] to categories or methods that require permission management, or role control [Authorize(Roles = \"role\")] , return 401 status if not logged in, and return 403 status if no permission. MiniAuth Cookie Identity MiniAuth is preset as a single Coookie Based identity, please change to JWT, etc. Auth for front-end and back-end separation projects. MiniAuth JWT Identity Setting AuthenticationType = BearerJwt Please remember to set new JWT Security Key, e.g. Getting token Frontend Javascript XHR example response Save the accessToken in localstorage or a c","default_branch":null,"files":null,"tree":[],"storefront":"/r/mini-software","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mini-software/MiniAuth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}