JwtAuthDemo
microsoft-identity-web
JwtAuthDemo | microsoft-identity-web | |
---|---|---|
1 | 7 | |
379 | 644 | |
3.4% | 0.5% | |
2.7 | 9.3 | |
5 months ago | 1 day ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
JwtAuthDemo
-
Web API auth for mobile app
I used the back-end parts of https://github.com/dotnet-labs/JwtAuthDemo in a recent project, so you could reuse it for your purposes, managing authentication/authorization entirely within the .NET API. In that project, the front-end was a React web app, so you should be able of using implementing this solution regardless of what the consumer of your API is.
microsoft-identity-web
-
Implementing fine-grained access control with ASP.NET Core custom endpoint metadata
Microsoft.Identity.Web's source code.
-
Azure AD - How to have a Distributed Token Cache per tenant?
I'm working on migrating a single-tenant, single-db ASP.NET Core Web API project that uses Azure AD with a DistributedSqlServerCache to support a multi-tenant, multi-db approach.
-
Securing a .NET Azure Function with Azure AD
Last week I was asked by someone in the community for a sample that shows how to secure Azure Functions with Azure AD. And specifically, a .NET 5 or 6 Azure Function using the Microsoft.Identity.Web library to validate tokens and authorize access.
-
Azure.Identity and MSAL
Also, check out Microsoft.Identity.Web https://github.com/AzureAD/microsoft-identity-web. It’s another wrapper around MSAL. It wraps some common best practices a little better than Azure.Identity does.
-
Modernize your legacy API authentication with Microsoft.Identity.Web and Azure AD
In a previous blog post, we looked at how to migrate the authentication code of a front-end solution written with ASP.NET Core to using the latest Microsoft.Identity.Web library for .NET. That was part 1 of our short series. For part 2, we will look at how to modernize the auth code in our back-end API using Microsoft.Identity.Web again.
-
Another Authentication/Authorisation question
You should check this out: https://github.com/AzureAD/microsoft-identity-web/wiki/customization
-
Migrating from old authentication code in ASP.NET with Microsoft.Identity.Web and Azure AD
About 3 years ago, I wrote some code for a customer. It was as sample solution. The front end was as straight up ASP.NET Core MVC app. The backend API was a simple .NET Core API. Both made use ofOpen ID Connect (OIDC) and OAuth2 to authenticate users and acquire tokens in order to retrieve and update a ToDo list. The juice of the app is in the authentication. So in this blog post, we'll look how to take out the "old" authentication code and replace it with the latest and greatest in ASP.NET Core - Microsoft.Identity.Web. The blog will come in two parts:
What are some alternatives?
play-pac4j - Security library for Play framework 2 in Java and Scala: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
microsoft-authentication-library-for-dotnet - Microsoft Authentication Library (MSAL) for .NET
keycloak-authorization-services-dotnet - Authentication and Authorization with Keycloak and ASP.NET Core 🔐
ms-identity-javascript-angular-spa-dotnetcore-webapi-roles-groups - Angular single-page application (SPA) calling .NET Core web API using App Roles and Security Groups for Implementing Role-Based Access Control (RBAC) using MSAL Angular
quote-journey - Playground nextjs auth app.
practical-aspnetcore - Practical samples of ASP.NET Core 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
angular-14-jwt-auth - Angular 14 JWT Authentication & Authorization with Web API and HttpOnly Cookie - Token Based Auth, Router, Forms, HttpClient, BootstrapBootstrap
SecureAzureFunctionMiW
ReallySimpleJWT - A really simple library to generate JSON Web Tokens in PHP.
active-directory-dotnetcore-devicecodeflow-v2 - .NET Core console application letting a user acquire a token for the Microsoft Graph by signing in through another device having a Web browser, with the Azure AD v2.0 endpoint
PlexSSO - Plex backed Single Sign On
aspnetcoreaadauth