AspNet.Security.OAuth.Vkontakte
8.3.0
See the version list below for details.
dotnet add package AspNet.Security.OAuth.Vkontakte --version 8.3.0
NuGet\Install-Package AspNet.Security.OAuth.Vkontakte -Version 8.3.0
<PackageReference Include="AspNet.Security.OAuth.Vkontakte" Version="8.3.0" />
paket add AspNet.Security.OAuth.Vkontakte --version 8.3.0
#r "nuget: AspNet.Security.OAuth.Vkontakte, 8.3.0"
// Install AspNet.Security.OAuth.Vkontakte as a Cake Addin #addin nuget:?package=AspNet.Security.OAuth.Vkontakte&version=8.3.0 // Install AspNet.Security.OAuth.Vkontakte as a Cake Tool #tool nuget:?package=AspNet.Security.OAuth.Vkontakte&version=8.3.0
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AspNet.Security.OAuth.Vkontakte:
Package | Downloads |
---|---|
ToolsToLive.AuthCore
Helper to deal with JWT |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AspNet.Security.OAuth.Vkontakte:
Repository | Stars |
---|---|
impworks/bonsai
Self-hosted family wiki engine / photoalbum
|
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 264 | 11/12/2024 |
8.3.0 | 313 | 11/7/2024 |
8.2.0 | 1,709 | 9/14/2024 |
8.1.0 | 3,739 | 6/14/2024 |
8.0.0 | 8,211 | 11/14/2023 |
7.0.4 | 6,450 | 8/15/2023 |
7.0.3 | 765 | 8/7/2023 |
7.0.2 | 6,273 | 4/16/2023 |
7.0.1 | 660 | 4/16/2023 |
7.0.0 | 7,250 | 11/7/2022 |
6.0.15 | 12,074 | 4/16/2023 |
6.0.14 | 5,956 | 11/2/2022 |
6.0.13 | 850 | 11/1/2022 |
6.0.12 | 1,218 | 10/10/2022 |
6.0.11 | 1,209 | 9/4/2022 |
6.0.10 | 1,168 | 8/31/2022 |
6.0.9 | 929 | 8/24/2022 |
6.0.8 | 929 | 8/19/2022 |
6.0.7 | 875 | 8/16/2022 |
6.0.6 | 5,647 | 4/20/2022 |
6.0.5 | 5,330 | 3/27/2022 |
6.0.4 | 3,395 | 2/10/2022 |
6.0.3 | 1,622 | 1/22/2022 |
6.0.2 | 2,291 | 1/6/2022 |
6.0.1 | 4,189 | 12/11/2021 |
6.0.0 | 3,277 | 11/8/2021 |
5.0.18 | 6,660 | 10/29/2021 |
5.0.17 | 958 | 10/26/2021 |
5.0.16 | 1,757 | 10/9/2021 |
5.0.15 | 1,132 | 10/4/2021 |
5.0.14 | 1,230 | 9/25/2021 |
5.0.13 | 875 | 9/24/2021 |
5.0.12 | 3,528 | 9/11/2021 |
5.0.11 | 3,119 | 8/24/2021 |
5.0.10 | 924 | 8/13/2021 |
5.0.9 | 1,291 | 7/28/2021 |
5.0.8 | 1,252 | 7/4/2021 |
5.0.7 | 1,464 | 6/20/2021 |
5.0.6 | 5,924 | 6/4/2021 |
5.0.5 | 926 | 6/3/2021 |
5.0.4 | 2,569 | 4/7/2021 |
5.0.3 | 1,592 | 3/26/2021 |
5.0.2 | 4,077 | 3/13/2021 |
5.0.1 | 4,421 | 2/1/2021 |
5.0.0 | 2,961 | 11/10/2020 |
3.1.8 | 928 | 8/31/2022 |
3.1.7 | 1,535 | 2/1/2021 |
3.1.6 | 8,931 | 10/26/2020 |
3.1.5 | 1,320 | 10/20/2020 |
3.1.4 | 3,605 | 10/6/2020 |
3.1.3 | 7,075 | 7/16/2020 |
3.1.2 | 2,682 | 7/8/2020 |
3.1.1 | 4,366 | 5/8/2020 |
3.1.0 | 2,655 | 4/20/2020 |
3.0.0 | 10,282 | 10/14/2019 |
2.2.2 | 5,721 | 5/8/2020 |
2.2.1 | 1,029 | 4/20/2020 |
2.2.0 | 5,070 | 10/14/2019 |
2.1.0 | 5,059 | 6/6/2019 |
2.0.1 | 7,706 | 1/21/2019 |
2.0.0 | 3,510 | 6/18/2018 |
2.0.0-rc2-final | 1,859 | 12/18/2017 |
1.0.1 | 1,286 | 1/21/2019 |
1.0.0 | 1,566 | 6/18/2018 |
1.0.0-rc2-final | 1,371 | 12/18/2017 |
1.0.0-rc1-final | 2,001 | 5/8/2017 |
1.0.0-beta3-final | 1,400 | 3/13/2017 |
1.0.0-beta2-final | 1,718 | 11/30/2016 |
1.0.0-beta1-final | 1,465 | 7/1/2016 |