aspnet-contrib - AspNet.Security.OAuth.Calendly 9.0.0-preview.24571.29
ASP.NET Core security middleware enabling Calendly authentication.
PM> Install-Package AspNet.Security.OAuth.Calendly -Version 9.0.0-preview.24571.29 -Source https://www.myget.org/F/aspnet-contrib/api/v3/index.json
> nuget.exe install AspNet.Security.OAuth.Calendly -Version 9.0.0-preview.24571.29 -Source https://www.myget.org/F/aspnet-contrib/api/v3/index.json
> dotnet add package AspNet.Security.OAuth.Calendly --version 9.0.0-preview.24571.29 --source https://www.myget.org/F/aspnet-contrib/api/v3/index.json
<PackageReference Include="AspNet.Security.OAuth.Calendly" Version="9.0.0-preview.24571.29" />
Copy to clipboard
source https://www.myget.org/F/aspnet-contrib/api/v3/index.json
nuget AspNet.Security.OAuth.Calendly ~> 9.0.0-preview.24571.29
Copy to clipboard
> choco install AspNet.Security.OAuth.Calendly --version 9.0.0-preview.24571.29 --source https://www.myget.org/F/aspnet-contrib/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "aspnet-contrib" -SourceLocation "https://www.myget.org/F/aspnet-contrib/api/v2"
Install-Module -Name "AspNet.Security.OAuth.Calendly" -RequiredVersion "9.0.0-preview.24571.29" -Repository "aspnet-contrib" -AllowPreRelease
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/aspnet-contrib/api/v2/symbolpackage/
AspNet.Security.OAuth.Providers
AspNet.Security.OAuth.Providers is a collection of security middleware that you can use in your ASP.NET Core application to support social authentication providers like GitHub, Twitter/X or Dropbox. It is directly inspired by Jerrie Pelser's initiative, Owin.Security.Providers.
The latest official release can be found on NuGet and the nightly builds on MyGet.
[!TIP] While the aspnet-contrib providers are still fully supported, developers are encouraged to use the OpenIddict client for new applications.
For information, see the Migrating to OpenIddict section.
Getting started
Adding social authentication to your application is a breeze and just requires a few lines in your Startup
class:
public void ConfigureServices(IServiceCollection services)
{
services.AddAuthentication(options => { /* Authentication options */ })
.AddGitHub(options =>
{
options.ClientId = "49e302895d8b09ea5656";
options.ClientSecret = "98f1bf028608901e9df91d64ee61536fe562064b";
});
}
public void Configure(IApplicationBuilder app)
{
app.UseAuthentication();
app.UseAuthorization();
}
See the /samples directory for a complete sample using ASP.NET Core MVC and supporting multiple social providers.
Contributing
AspNet.Security.OAuth.Providers is actively maintained by:
We would love it if you could help contributing to this repository.
Special thanks to our contributors:
- Aaron Sadler
- Abhinav Nigam
- Adam Reisinger
- Albert Zakiev
- Albireo
- Anders Blankholm
- Andrew Lock
- Andrew Mattie
- Andrii Chebukin
- Anthony Yates
- Chino Chang
- Chris Sung
- CoCo Lin
- Dave Timmins
- Dmitry Popov
- Drew Killion
- Elan Hasson
- Eric Green
- Ethan Celletti
- Floris Westerman
- Galo
- Gehongyan
- Igor Simovic
- James Holcomb
- Jason Loeffler
- Jerrie Pelser
- Jesse Mandel
- Jordan Knight
- Kévin Chalet
- Konstantin Mamaev
- LeaFrock
- Levi Muriuki
- Luke Fulliton
- Mariusz Zieliński
- Martin Costello
- Matthew Moore
- Maxime Roussin-Bélanger
- Michael Knowles
- Michael Tanczos
- Patrick Westerhoff
- Robert Shade
- saber-wang
- Sinan
- Stefan
- Steffen Wenz
- Tathagata Chakraborty
- TheUltimateC0der
- Tolbxela
- Tommy Parnell
- twsl
- wplong11
- Yannic Smeets
- zAfLu
- zhengchun
- Vicente Yu
- Volodymyr Baydalka
- Logan Dam
Security policy
Please see SECURITY.md for information about reporting security issues and bugs.
Support
Need help or wanna share your thoughts? Don't hesitate to join us on Gitter or ask your question on StackOverflow:
- Gitter: https://gitter.im/aspnet-contrib/AspNet.Security.OAuth.Providers
- StackOverflow: https://stackoverflow.com/questions/tagged/aspnet-contrib
License
This project is licensed under the Apache License. This means that you can use, modify and distribute it freely. See https://www.apache.org/licenses/LICENSE-2.0.html for more details.
Migrating to OpenIddict
The OpenIddict client and its 75+ web providers have significant advantages over the simpler OAuth 2.0-only authentication handler that is used by the aspnet-contrib providers:
- OpenIddict fully supports OpenID Connect, which allows enforcing additional security checks for providers that implement it.
- The OpenIddict client is stateful and provides built-in countermeasures against nonce/token replay attacks.
- While the aspnet-contrib providers only support the OAuth 2.0 code flow, the OpenIddict providers support additional flows, including the OpenID Connect hybrid flow, the OAuth 2.0 client credentials grant, the resource owner password credentials grant or the refresh token grant.
- The OpenIddict client supports OAuth 2.0 token introspection and OAuth 2.0 token revocation.
- OpenIddict uses OAuth 2.0 and OpenID Connect server configuration discovery to avoid hardcoding the endpoint URIs of a provider when possible, making the OpenIddict web providers more robust and more future-proof.
- While the aspnet-contrib providers require targeting the latest ASP.NET Core version, the OpenIddict web providers can be used in any supported version. They can also be used in ASP.NET 4.6.1+ websites and Windows/Linux desktop applications.
- OpenIddict uses
Microsoft.Extensions.Http.Polly
(orMicrosoft.Extensions.Http.Resilience
on .NET 8+) to make backchannel HTTP communications less prone to transient network errors.
For more information on how to get started with the OpenIddict web providers, you can read:
To contribute a new OpenIddict provider, visit Contributing a new Web provider.
Providers
Links to the latest stable and nightly NuGet packages for each provider, as well as a link to their integration documentation are listed in the table below.
Documentation for the providers' settings can be found here.
If a provider you're looking for does not exist, consider making a PR to add one.
- .NETFramework 9.0: 9.0.0.0
OwnersKévin Chalet |
AuthorsDenys Goncharenko |
Project URLhttps://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers |
LicenseUnknown |
Tagsaspnetcore authentication oauth calendly security |
Info0 total downloads |
0 downloads for version 9.0.0-preview.24571.29 |
Download (22.73 KB) |
Download symbols (14.98 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
9.0.0 | 22.66 KB | Tue, 12 Nov 2024 20:26:33 GMT | 0 | ||||
9.0.0-rc.2.24557.45 | 22.72 KB | Thu, 07 Nov 2024 11:06:34 GMT | 0 | ||||
9.0.0-rc.2.24554.41 | 22.63 KB | Mon, 04 Nov 2024 10:13:55 GMT | 0 | ||||
9.0.0-rc.2.24515.38 | 22.62 KB | Tue, 15 Oct 2024 09:21:26 GMT | 0 | ||||
9.0.0-rc.2.24509.43 | 22.63 KB | Wed, 09 Oct 2024 10:42:28 GMT | 0 | ||||
9.0.0-rc.2.24508.67 | 22.63 KB | Tue, 08 Oct 2024 16:47:47 GMT | 0 | ||||
9.0.0-rc.1.24464.64 | 22.63 KB | Sat, 14 Sep 2024 15:53:14 GMT | 0 | ||||
9.0.0-rc.1.24464.61 | 22.64 KB | Sat, 14 Sep 2024 15:13:41 GMT | 0 | ||||
9.0.0-rc.1.24464.60 | 22.63 KB | Sat, 14 Sep 2024 14:50:12 GMT | 0 | ||||
9.0.0-rc.1.24460.76 | 22.59 KB | Tue, 10 Sep 2024 19:04:31 GMT | 0 | ||||
9.0.0-preview.24571.29 | 22.73 KB | Thu, 21 Nov 2024 07:09:25 GMT | 0 | ||||
8.3.0 | 22.7 KB | Thu, 07 Nov 2024 10:34:00 GMT | 0 | ||||
8.2.0 | 22.61 KB | Sat, 14 Sep 2024 15:35:53 GMT | 0 | ||||
8.1.0 | 22.46 KB | Fri, 14 Jun 2024 14:33:09 GMT | 0 |