Framework | From | Latest | Current support |
---|---|---|---|
.Net Core 2.2 | 1.0.0 | 1.0.0 | ❌ |
.Net Core 3.1 | 1.0.1 | 3.4.1 | ❌ |
.Net 5.0 | 3.4.0 | 3.4.1 | ❌ |
.Net 6.0 | 4.0.0 | Current | ✔️ |
.Net 7.0 | 4.0.0 | Current | ✔️ |
npm package is ready to be supported in any TypeScript project
Project that brings together the use of different tools for Authorization and Authentication such as Microsoft AspNet Identity Core and IdentityServer4 for different common scenarios such as:
- Easy use through Bearer JWT (AspNet Identity)
- Complex scenarios with OAuth 2.0 / OIDC (AspNet Identity + IdentityServer4)
- Test or internal scenarios with basic authentication (no dependencies)
Additionally, a Javascript connector developed with TypeScript is provided ready to be installed in the project
In addition, the project provides additional features such as default user management, custom actions post-user creation, or default IDP configuration, and a very simple and unified configuration based on appSettings.json or on a builder (recommended and more flexible).
This project focuses on the auth scenarios required in different projects, however it may not apply to all cases, in such a case do not hesitate to directly use AspNet Core Identity and/or IdentityServer4, as well as any other tool to meet the requirements of your project.
For getting started, visit the home page of our project wiki
To know how to use this version, take a look on. Regardless of the framework of the example, the code is valid between versions:
- JWT Basic API Example without custom properties (.NET 5.0)
- JWT API usage and frontend connector example
- JWT Basic API Example without custom properties .NET 3.1)
- JWT Custom example extending context
- OAuth - OIDC with IdentityServer4 complex scenario with IDP, API and Client example
- Basic Auth scenario
NOTE: Code is cross comptaible between framework versions, so examples are implicitly valid for all versions taking into account the multiple configuration options available