All Projects β†’ VahidN β†’ Aspnetcore2jwtauthentication

VahidN / Aspnetcore2jwtauthentication

Licence: apache-2.0
Jwt Authentication without ASP.NET Core Identity

Projects that are alternatives of or similar to Aspnetcore2jwtauthentication

Security.identity
.NET DevPack Identity is a set of common implementations to help you implementing Identity, Jwt, claims validation and another facilities
Stars: ✭ 165 (-24.31%)
Mutual labels:  asp-net-core, jwt, identity, json-web-token
Cierge
πŸ—οΈ Passwordless OIDC authentication done right
Stars: ✭ 1,245 (+471.1%)
Mutual labels:  asp-net-core, jwt, identity
Aspnetcore Ddd
Full ASP.NET Core 3.1 LTS application with DDD, CQRS and Event Sourcing
Stars: ✭ 88 (-59.63%)
Mutual labels:  jwt, identity
Ethr Did
Create ethr DIDs
Stars: ✭ 90 (-58.72%)
Mutual labels:  jwt, identity
Aspnetcorehybridflowwithapi
ASP.NET Core MVC application using API, OpenID Connect Hybrid flow , second API, Code Flow with PKCE
Stars: ✭ 127 (-41.74%)
Mutual labels:  asp-net-core, jwt
Yii2 Jwt
JWT implementation for Yii2 Authorization process
Stars: ✭ 61 (-72.02%)
Mutual labels:  jwt, json-web-token
Aspnetcoreid4external
external OpenID Connect Login to IdentityServer4 with AAD
Stars: ✭ 63 (-71.1%)
Mutual labels:  asp-net-core, identity
Aspnetcore.identity.mongodbcore
A MongoDb UserStore and RoleStore adapter for Microsoft.AspNetCore.Identity 2.2. Allows you to use MongoDb instead of SQL server with Microsoft.AspNetCore.Identity 2.2. (not Identity 3.0)
Stars: ✭ 118 (-45.87%)
Mutual labels:  asp-net-core, identity
Identity.redis
ASP.NET Identity Redis Provider
Stars: ✭ 22 (-89.91%)
Mutual labels:  asp-net-core, identity
Active Directory B2c Dotnetcore Webapp
An ASP.NET Core web application that can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API.
Stars: ✭ 160 (-26.61%)
Mutual labels:  asp-net-core, identity
Php Jwt
Ultra lightweight, dependency free and standalone JSON web token (JWT) library for PHP5.6 to PHP8.0. This library makes JWT a cheese.
Stars: ✭ 214 (-1.83%)
Mutual labels:  jwt, json-web-token
Auth0 Socketio Jwt
Authenticate socket.io incoming connections with JWTs
Stars: ✭ 1,093 (+401.38%)
Mutual labels:  jwt, identity
Ravendb.identity
RavenDB Identity provider for ASP.NET Core. Let RavenDB manage your users and logins.
Stars: ✭ 50 (-77.06%)
Mutual labels:  asp-net-core, identity
Aspnetcore.identity.mongo
This is a MongoDB provider for the ASP.NET Core 2 Identity framework
Stars: ✭ 179 (-17.89%)
Mutual labels:  asp-net-core, identity
Jwt
Kotlin JWT πŸ”‘ implementation (Json Web Token) as required by APNs πŸ”” (Apple Push Notifications) or Sign in with Apple 🍏
Stars: ✭ 31 (-85.78%)
Mutual labels:  jwt, json-web-token
Zitadel
ZITADEL - Cloud Native Identity and Access Management
Stars: ✭ 105 (-51.83%)
Mutual labels:  jwt, identity
Jpproject.identityserver4.adminui
πŸ”§ ASP.NET Core 3 & Angular 8 Administration Panel for πŸ’žIdentityServer4 and ASP.NET Core Identity
Stars: ✭ 717 (+228.9%)
Mutual labels:  asp-net-core, identity
Aspnetcore2cookieauthentication
Cookie Authentication without ASP.NET Core Identity 3.x
Stars: ✭ 19 (-91.28%)
Mutual labels:  asp-net-core, identity
Go Jose
An implementation of JOSE standards (JWE, JWS, JWT) in Go
Stars: ✭ 1,849 (+748.17%)
Mutual labels:  jwt, json-web-token
Identitymanager2
Development tool for administering users and roles
Stars: ✭ 164 (-24.77%)
Mutual labels:  asp-net-core, identity

Jwt Authentication without ASP.NET Core Identity 5.0.100

jwtauth

A Jwt based authentication sample for ASP.NET Core 5.0.100 without using the Identity system. It includes:

  • Users and Roles tables with a many-to-may relationship.
  • A separated EF Core data layer with enabled migrations.
  • An EF Core 5.0.100 based service layer.
  • A Db initializer to seed the default database values.
  • An account controller with Jwt and DB based login, custom logout and refresh tokens capabilities.
  • 2 sample API controllers to show how user-roles can be applied and used.
  • A Jwt validator service to show how to react to the server side changes to a user's info immediately.
  • An Angular 7.0+ Client. It contains:
    • A JWT-based Login page.
    • Handling how and where to store the tokens.
    • How to handle refresh tokens mechanism, using reactive timers.
    • How to validate the expiration date of a token.
    • How to decode an access token and extract the user's roles from it.
    • Authorizing access to a module via a route guard based on the user's roles.
    • How to hide or display different parts of a page based on the user's roles.
    • Adding a JWT token to the HTTP requests required authorized access automatically.
    • Handling server side unauthorized errors automatically.

How to run the Angular 7.0+ Client

  • Update all of the outdated global dependencies using the npm update -g command.
  • Install the Angular-CLI.
  • Open a command prompt console and then navigate to src/ASPNETCore2JwtAuthentication.AngularClient/ folder.
  • Now run the following commands:
npm update -g
npm install
_2-ng-build-dev.bat
  • Then open another command prompt console and navigate to src/ASPNETCore2JwtAuthentication.WebApp/ folder.
  • Now run the following commands:
dotnet restore
dotnet watch run
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].