Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Top 16 C# Oauth2 Projects
-
Having encountered multiple unforeseen issues because exceptional cases are generally not spelt out in the documentation, sometimes I wonder if implementing an OAuth 2 Server using a well-established library (e.g. OpenIddict for C#) may reduce maintenance effort in the long run. This is because Keycloak only abstracts implementation, not knowledge: Whether using Keycloak or implementing an OAuth 2 Server, developers must do the hard work of understanding OAuth 2 well. With good OAuth 2 libraries, the cost of implementing an OAuth 2 Server may be lesser than the cost of dealing with the intricacies of Keycloak and identifying and plugging the gaps of Keycloak. Of course, your mileage may vary; you may find Keycloak working nicely for your use cases, especially so if your use cases aren't complex.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
-
legacy-to-modern-architecture-styles
A practical architecture styles for migrating from legacy monolith to modern cloud native application with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, and Masstransit in .Net 9.
-
jose-jwt
Ultimate Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and Json Web Keys (JWK) Implementation for .NET and .NET Core
-
SimpleIdServer
OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
-
TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
booking-modular-monolith
Practical Modular Monolith, built with .Net 9, DDD, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
-
-
OidcProxy.Net
An extendible framework for .NET to implement the BFF Security Pattern (a.k.a. Token Handler Pattern) in Single Page Applications
-
-
Oidc.Server
Flexible OpenID Connect and OAuth 2.0 server-side implementation for modern ASP.NET projects
Project mention: Modern Authentication on .NET in Practice: OpenID Connect, BFF and SPA | dev.to | 2024-08-26As mentioned earlier, for the practical integration example, we will use a test OpenID Connect server based on the Abblix OIDC Server library. The base template for an application based on ASP.NET Core MVC with the Abblix OIDC Server library is also available in the Abblix.Templates package we installed earlier. Let's use this template to create a new application named OpenIDProviderApp:
-
Transparent-Auth-Gateway
Implementations of a "transparent" Auth Gateway that links a third-party Identity Provider with own authorisation rules (scopes, roles, etc.)
-
POPIdentity
A lightweight, low-opinion, mini-library for social and third-party logins in ASP.NET Core.
-
qatoolkit-auth-net
QAToolKit library for generating JWT access tokens from different identity providers.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# Oauth2 discussion
C# Oauth2 related posts
-
Modern Authentication on .NET in Practice: OpenID Connect, BFF and SPA
-
Recommendations for Free Library/Service to Separate Authentication in Legacy ASP.NET (ASPX) Application
-
Enforcing single user session IDS4
-
Is it normal for a jwt made with c#/.net to contain these url's?
-
What patterns/libraries do you use for working with JWT auth in your HttpClients?
-
Transparent Auth Gateway / Identity Proxy. Source code and explanation (OpenIdDict, C#, AzureAD)
-
Understanding JWT Tokens
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 25 Mar 2025
Index
What are some of the best open-source Oauth2 projects in C#? This list will help you:
# | Project | Stars |
---|---|---|
1 | openiddict-core | 4,722 |
2 | AspNet.Security.OAuth.Providers | 2,436 |
3 | OutlookGoogleCalendarSync | 1,890 |
4 | legacy-to-modern-architecture-styles | 1,049 |
5 | jose-jwt | 960 |
6 | SimpleIdServer | 794 |
7 | TheIdServer | 720 |
8 | unity-google-drive | 407 |
9 | booking-modular-monolith | 302 |
10 | IdentityServer4-Example | 178 |
11 | OidcProxy.Net | 134 |
12 | authentication-unity | 69 |
13 | Oidc.Server | 51 |
14 | Transparent-Auth-Gateway | 18 |
15 | POPIdentity | 5 |
16 | qatoolkit-auth-net | 2 |