Veriqa.Core.ChannelAdapter.Viber 0.7.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Veriqa.Core.ChannelAdapter.Viber --version 0.7.0
                    
NuGet\Install-Package Veriqa.Core.ChannelAdapter.Viber -Version 0.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Veriqa.Core.ChannelAdapter.Viber" Version="0.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Veriqa.Core.ChannelAdapter.Viber" Version="0.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Veriqa.Core.ChannelAdapter.Viber" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Veriqa.Core.ChannelAdapter.Viber --version 0.7.0
                    
#r "nuget: Veriqa.Core.ChannelAdapter.Viber, 0.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Veriqa.Core.ChannelAdapter.Viber@0.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Veriqa.Core.ChannelAdapter.Viber&version=0.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Veriqa.Core.ChannelAdapter.Viber&version=0.7.0
                    
Install as a Cake Tool

Veriqa.Core.ChannelAdapter.Viber

Viber login and authentication for your website or app. Your users scan a QR code on a computer, TV or kiosk, or tap a button on their phone, and confirm the sign-in in your Viber bot: no password, no SMS code and no sign-up form. Your application receives standard OpenID Connect tokens.

This package is the Viber channel of Veriqa, an open-source project for passwordless authentication through popular messaging apps and email, over standard OpenID Connect. Setup guide: Viber channel.

About this package

The adapter turns the user's confirmation in a Viber bot into the identity the core issues tokens for. Viber is not part of the Veriqa.Core.BaseChannels metapackage: it is installed with an explicit dotnet add package by the deployments that need it. The package carries no platform SDK — the channel talks plain HTTP.

Verification status

The adapter has been verified against a mock of the Viber Bot API only; it has not been run against the live Viber platform. Since 5 February 2024 Viber issues new bots on commercial terms only, so the bot and its token are obtained from Viber before the channel is deployed.

Install

dotnet add package Veriqa.Core.ChannelAdapter.Viber

The channel contour (Veriqa.Core.ChannelAdapter) arrives with this package — it is not installed separately.

Wiring

authServer.AddChannelAdapters(adapters => adapters.AddViber());

The adapter activates only when its configuration section Veriqa:Channels:Viber is enabled ("Enabled": true); otherwise only its options and their validator are registered.

Configuration

{
  "Veriqa": {
    "Channels": {
      "Viber": {
        "Enabled": true,
        "InboundVerification": "signature",
        "AuthToken": "YOUR_BOT_TOKEN",
        "BotUri": "YOUR_BOT_URI",
        "SenderName": "Veriqa",
        "WebhookBaseUrl": "https://auth.example.com"
      }
    }
  }
}

AuthToken, BotUri and SenderName are the credentials of a tenant. WebhookBaseUrl and ApiBaseUrl are settings of the installation; ApiBaseUrl defaults to https://chatapi.viber.com.

The host registers the webhook of the default tenant's bot itself, at {WebhookBaseUrl}/api/channels/viber/webhook. The webhook of a tenant with a bot of its own — /api/channels/viber/webhook/{tenant} — is set by whoever provisions that tenant. Every inbound request is checked against the X-Viber-Content-Signature header: an HMAC-SHA256 of the request body made with the AuthToken of the tenant.

License

Mozilla Public License 2.0 — see the LICENSE file in the repository root; the package carries the MPL-2.0 license expression in its metadata.


Veriqa™ — © Dmitrii Erusov. Sources and mirrors: https://veriqa.app · devs@veriqa.app

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.3 107 11/10/2026
0.7.1 122 11/2/2026
0.7.0 124 10/31/2026