Altairis.Services.LoginApprovals
1.0.0
dotnet add package Altairis.Services.LoginApprovals --version 1.0.0
NuGet\Install-Package Altairis.Services.LoginApprovals -Version 1.0.0
<PackageReference Include="Altairis.Services.LoginApprovals" Version="1.0.0" />
paket add Altairis.Services.LoginApprovals --version 1.0.0
#r "nuget: Altairis.Services.LoginApprovals, 1.0.0"
// Install Altairis.Services.LoginApprovals as a Cake Addin #addin nuget:?package=Altairis.Services.LoginApprovals&version=1.0.0 // Install Altairis.Services.LoginApprovals as a Cake Tool #tool nuget:?package=Altairis.Services.LoginApprovals&version=1.0.0
Altairis.Services.LoginApprovals
This library allows passwordless login to web sites and uses another device to approve given login.
This login method may be quicker and also it's more secure on partially trusted computers. They're secure enough to use a service, but not to type the password.
Big identity providers like Microsoft, Google or Facebook are using similar methods using their authenticator apps. For a smaller project is not practical to write and deploy their custom apps, but the behavior can be done with standard web browser.
Login flow
From the user's perspective the login process is as follows:
- User will go to login page and chooses to sign in using another device.
- The site displays request ID (ie. B1E2-74D5) and a QR code.
- User opens the URL encoded in QR code on a mobile device, where he's already signed in (or will sign in) and verifies the request ID.
- User confirms the login.
- The original page is refreshing constantly and once the request is approved on mobile device, the user is logged in.
Security risks
- The user may be tricked into confirming attacker's login with social engineering. In such case is user an idiot and deserves what happens.
- The login page may be spoofed and the QR code may lead to attacker's site to trick the user to enter their credentials. Usual precautions apply for entering credentials.
Contributor Code of Conduct
This project adheres to No Code of Conduct. We are all adults. We accept anyone's contributions. Nothing else matters.
For more information please visit the No Code of Conduct homepage.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net7.0
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Options (>= 7.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.