AspNet.Security.OAuth.Providers
IdentityModel.AspNetCore
AspNet.Security.OAuth.Providers | IdentityModel.AspNetCore | |
---|---|---|
4 | 2 | |
2,298 | 288 | |
1.0% | - | |
8.2 | 7.4 | |
10 days ago | over 1 year ago | |
C# | C# | |
Apache License 2.0 | Apache License 2.0 |
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.
AspNet.Security.OAuth.Providers
-
Auth with external IDP - issue redirecting to external provider from front-end
This one here: https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
-
10 years of LanHUB - So what's next?
Fortunately there is a good library that supports all kinds of oauth providers, so implementing Discord Oauth is now painless and follows the standard asp.net local authentication flow - link
-
New to .NET, completely and utterly overwhelmed by Authentication
There's even a community lib that gives you a ton of providers https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers to make things easier.
-
Building a User Login System with ASP .NET Core Identity
It's fairly simple to add an OAuth provider if you need to. Microsoft provides support out of the box for four (Microsoft, Google, Twitter, Facebook), and provide a nice guide. Aside from this, you can implement your own integration or use a prebuilt integration this repo has a really nice selection. The buttons to authenticate with the provider(s) will appear on the login page automatically.
IdentityModel.AspNetCore
-
Refresh Authentication Token on retry when using Polly
Move your AuthorizationMessageHandler to execute before your resilience policies. You can take inspiration from IdentityServer's implementation: ClientAccessTokenHandler.cs
-
Creating and Using HTTP Client SDKs in .NET 6
💡 Authentication in OAuth2/OIDC: If you need to manage user and client access tokens I suggest using IdentityModel.AspNetCore. It acquires, caches, and rotates tokens for you, see the docs.
What are some alternatives?
IdentityModel.OidcClient.Samples
Refit - The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
dotnet-6-custom-db-identity
autorest - OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
ASP.NET Boilerplate - ASP.NET Boilerplate - Web Application Framework
RestEase - Easy-to-use typesafe REST API client library for .NET Standard 1.1 and .NET Framework 4.5 and higher, which is simple and customisable. Inspired by Refit
AspNet.Security.OpenId.Providers - OpenID 2.0 authentication middleware for ASP.NET Core
NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
RESTFulSense - A RESTFul operations client that serializes responses and throws meaningful exceptions for >= 400 status codes.
active-directory-aspnetcore-webapp-openidconnect-v2 - An ASP.NET Core Web App which lets sign-in users (including in your org, many orgs, orgs + personal accounts, sovereign clouds) and call Web APIs (including Microsoft Graph)
AzureFunctions.Extensions.OpenIDConnect - OIDC / JWT Bearer Tokens authentication made easy for Azure Functions. Work with the well known ASPNET Authorize attribute. Compatible with popular identity providers including Auth0, Azure AD B2C, Azure AD, Google etc..