Skip to main content

Overview

The same catalog is on the website at veriqa.app/channels.
The user confirms a sign-in in a messaging app or a mailbox they already use — with nothing extra to install. Your application receives ordinary OpenID Connect tokens whichever channel was used. Every channel issues the base claims channel_type, channel_user_id and name — a card lists what the channel adds on top. For channels not shipped yet it shows what the platform’s API allows. Besides the claims, a channel’s description uses three terms: secret message, confirmation in the channel and buttons in the chat.

Secret message

A secret message is the message with the sign-in code that the user sends to the channel themselves after tapping the link or scanning the QR code. Veriqa fills it in, the messaging app shows it pre-filled, and the user only taps Send. Not every channel needs one. Examples:
  • Telegram and MAX: not needed — the messaging app opens the bot and hands it the code on its own.
  • WhatsApp: needed, for stronger security — the pre-filled message goes out with one tap.
  • Email: the same with a pre-filled email — the one-tap email (Push mode) — or optionally a classic magic link.
Signing in on a computer with WhatsApp: the phone camera scans the QR code, WhatsApp opens a ready-made message, the user sends it, taps Confirm, and the chat replies "Sign-in confirmed".

The secret message in WhatsApp: the user scans the QR code, and the app opens the ready-made message.

Confirmation in the channel

Confirmation in the channel is a feature where the bot asks right in the chat whether to let the sign-in through — which app and from which device — with Confirm and Decline buttons. It can be switched to automatic mode, and then the sign-in goes through without an extra request — for every channel or for one of them: see Veriqa:LoginConfirmation. Examples:
  • Telegram: the question comes as soon as the user opens the link.
  • WhatsApp: the question comes in reply to the secret message.
  • Email: no question in the channel — optionally it is asked on a page in the browser.
Signing in on a phone: the user taps "Sign in with Telegram", confirms in the Telegram chat, and the chat replies "Sign-in confirmed".

Confirmation in the channel: the bot asks in the chat, and the user answers with a button.

Buttons in the chat

Buttons in the chat are messages with buttons that the channel sends into the conversation once the sign-in is confirmed. A card describes them in two lines:
  • Claims completion form — a link button to the page where the user fills in the claims your application is missing. The channel sends it when the form is shown on the device that confirmed the sign-in; the ClaimCompletionFormSurface setting of the client decides where the form is shown.
  • After the sign-in — which actions of Veriqa:CompletionBehavior the channel performs: WelcomeMessage is a welcome message, Menu a message with a list of buttons, Redirect a message with one link button.
A button that cannot be drawn is left out with a Warning in the log, and a message left with no buttons is not sent. In WhatsApp, Messenger and Viber a label longer than the platform allows is cut and ends with ”…”. What each channel checks before sending is listed under Veriqa:CompletionBehavior.

Built-in messaging apps

These ship with Veriqa — enable the ones you need in configuration.

Telegram

Claims on top of the base: given_name, family_name, preferred_username, locale, picturePhone number: phone_number and phone_number_verified on request — the user shares the number with a button in the chat (phone number)Confirmation in the channel: yesClaims completion form: yes — a link button under the messageAfter the sign-in: WelcomeMessage, Menu, RedirectSecret message: not needed

WhatsApp

Claims on top of the base: given_name, preferred_username (if the user has turned on a WhatsApp username)Phone number: phone_number and phone_number_verified automatically when WhatsApp sends the number with the message; when the user hides it behind a username — on request, the user shares the number with a button in the chat (phone number)User identifier: sub and channel_user_id carry the business-scoped user ID (BSUID) — unique per Meta business portfolio and new when the user changes the number; preferred_username is a hint, not the identityConfirmation in the channel: yesClaims completion form: yes — a cta_url message: the text and one button that opens the formAfter the sign-in: WelcomeMessage, Menu, Redirect. Redirect is a cta_url message. Menu draws its callback items only: up to three as reply buttons, four to ten as the rows of a list that one button opens; items beyond the tenth are left out. WhatsApp shows no link buttons in a menu, so link items are left out: a menu of one link is sent as Redirect, and a menu of several links and no callback items is not sentSecret message: needed — one tap

WhatsApp through Twilio

The same WhatsApp channel, delivered through a Twilio account instead of the Meta WhatsApp Business Platform — one configuration key picks the provider (delivery through Twilio).Claims on top of the base: given_name, preferred_username (if the user has turned on a WhatsApp username)Phone number: phone_number and phone_number_verified automatically when WhatsApp sends the number with the message; a number hidden behind a username is not asked for — the request with a button in the chat is sent by the Meta Cloud API provider only (phone number)User identifier: sub and channel_user_id carry the business-scoped user ID (BSUID), as with the Meta provider; preferred_username is a hint, not the identityConfirmation in the channel: yes — two quick-reply buttonsClaims completion form: not through Twilio (the Meta Cloud API provider only): the form opens on the sign-in page, and with CrossDevicePageOnly a missing required claim fails the sign-inAfter the sign-in: only WelcomeMessage is performed; with Menu or Redirect nothing is sent through TwilioSecret message: needed — one tap

MAX

Claims on top of the base: given_name, family_name, preferred_username, locale, picturePhone number: phone_number and phone_number_verified on request — the user shares the number with a button in the chat (phone number)Confirmation in the channel: yesClaims completion form: yes — a link button under the messageAfter the sign-in: WelcomeMessage, Menu, RedirectSecret message: not needed

Instagram

The user confirms in Instagram Direct, in a conversation with your Instagram professional account. Signing in users outside your own team needs access granted by Meta (channel setup).Claims on top of the base: preferred_username, picturePhone number: phone_number on request, with phone_number_verified: false — the user shares the number of their Instagram profile with a button in the chat; the button shows only in the Instagram mobile app and only if the profile has a number (phone number)Confirmation in the channel: yesClaims completion form: yes — a button template: the text and a button that opens the form. The Instagram web version does not show the template — see what this meansAfter the sign-in: WelcomeMessage, Menu, Redirect — in the same template. Menu keeps the first three buttons and leaves the rest out. A text longer than 640 characters is sent as a separate message before the templateSecret message: not needed

Messenger

The user confirms in Messenger, in a conversation with your Facebook Page. Signing in users outside your own team needs access granted by Meta (channel setup).Claims on top of the base: given_name, family_name, picture, locale — when Meta lets the app read the user’s profilePhone number: phone_number on request, with phone_number_verified: false — the user shares the number of their profile with a button in the chat; the button shows only if the profile has a number (phone number)Confirmation in the channel: yesClaims completion form: yes — a button template: the text and a button that opens the formAfter the sign-in: WelcomeMessage, Menu, Redirect — in the same template. Menu keeps the first three buttons and leaves the rest outSecret message: not needed

WeChat

The user scans the QR code with WeChat and confirms in the chat with your Official Account. The channel needs a verified Service Account (channel setup).Claims on top of the base: none — only the base ones; name holds the OpenIDConfirmation in the channel: yesClaims completion form: yes — a link in the text of the messageAfter the sign-in: WelcomeMessage, Menu, Redirect. Links — Redirect and the link items of a menu — come in the text of a message, one per line, and callback items as the options of a menu message. A menu with both is two messages: first the options with the text, then the linksMessage quota: after a QR code scan the account may send three messages within a minute, after a message from the user five within 48 hours. The confirmation question, the outcome receipt, the form link and the messages after the sign-in share that quota; a message over it is not sentSecret message: not needed

Viber

The user confirms in Viber, in a conversation with your bot. The adapter has been run only against a mock of the Bot API and has not been verified on the live Viber platform. Since February 5, 2024, Viber issues new bots on commercial terms only — get the bot and its token from Viber before a deployment (channel setup).Claims on top of the base: picture, localePhone number: phone_number on request, with phone_number_verified: false — the user shares the number with a button in the chat (phone number)Confirmation in the channel: yesClaims completion form: yes — an open-url keyboard button under the messageAfter the sign-in: WelcomeMessage, Menu, Redirect — as keyboard buttons. A link button opens its address without showing it in the chat; Viber versions earlier than 6.7 show the address in the conversation, and for the form that address is the link with the form token. A message that contains only a link gets no reply, even one the user typed. When the user presses a callback button of a menu, a line that starts with vq_menu_ stays in the conversationSecret message: not needed

Email

Claims on top of the base: email, email_verified, preferred_username, veriqa_channel, veriqa_email_modeConfirmation in the channel: no — optionally in the browserSecret message: needed — one tap, or a classic magic linkTwo modes: the one-tap email (the user sends a pre-filled email, so nothing has to be delivered to them and no link can be used up by a mail gateway) and the classic magic link, which is on by default. What each one gives you — choosing between them.Receiving the one-tap email: through the webhook of an inbound mail provider, or without one — Veriqa reads an ordinary mailbox itself (one-tap email over IMAP).

Instagram on the web

The Instagram web version does not show the button template: a user who reads the conversation in a browser sees the text of the message without its buttons. The platform still accepts the message, and Veriqa counts it as delivered. Such a user does not see the menu or the link button sent after the sign-in. What happens to the claims completion form depends on ClaimCompletionFormSurface:
  • InitiatingPage, and Auto when the account has an identifier to show, are not affected: no link goes into the chat, and the form opens on the sign-in page.
  • With CrossDevicePage, and with Auto when the account has no identifier, the sign-in page shows “Complete the form on your phone” and waits until the user taps the button in the Instagram mobile app and submits the form, or the sign-in expires. The form does not fall back to the sign-in page.
  • With CrossDevicePageOnly the same happens. If the user does not submit the form from the mobile app, the sign-in ends when it expires, not with required_claim_unobtainable.

Sign-in with a provider account

With a provider account channel, your application gets sign-in with Google, Apple, Huawei, Yandex, VK ID or another provider that works across devices, not only on the device where the application is open. The screen shows a QR code, the user signs in to their account on their own phone and confirms on a page there, and the sign-in completes on the screen. Why such a sign-in is more convenient and safer than the provider’s usual button is explained on the Account services page. Users confirm actions the same way. There is no chat or mailbox behind such a channel. Instead, Veriqa shows a page on the phone with the question and its Yes and No buttons, the messages after the sign-in and the outcome. The channel works under hop mode. It ships in the core as the Veriqa.Core.ChannelAdapter.WebProviders package and is turned on in configuration, one channel per client registered with a provider — see Sign-in with a provider account. The cards below are the five starting providers; any other provider of OpenIddict.Client.WebIntegration connects the same way.

Google

Claims on top of the base: email, email_verified, given_name, family_name, picture, localeConfirmation in the channel: yes — on a page on the phoneSecret message: not neededDelivery: built-in channel — Veriqa.Core.ChannelAdapter.WebProviders

Apple

Claims on top of the base: email, email_verifiedConfirmation in the channel: yes — on a page on the phoneSecret message: not neededDelivery: built-in channel — Veriqa.Core.ChannelAdapter.WebProviders

Huawei

Claims on top of the base: email, email_verifiedConfirmation in the channel: yes — on a page on the phoneSecret message: not neededDelivery: built-in channel — Veriqa.Core.ChannelAdapter.WebProviders

Yandex

Claims on top of the base: email, given_name, family_nameConfirmation in the channel: yes — on a page on the phoneSecret message: not neededDelivery: built-in channel — Veriqa.Core.ChannelAdapter.WebProviders

VK ID

Claims on top of the base: email, given_name, family_name, pictureConfirmation in the channel: yes — on a page on the phoneSecret message: not neededDelivery: built-in channel — Veriqa.Core.ChannelAdapter.WebProviders

Channels connected by configuration

Connect a channel Veriqa does not ship — your own bot, a corporate messaging app, a regional platform — as an external service in any language. Veriqa talks to it over HTTP, and the platform’s keys stay with your service. It is also one way to bring a bot you already run into the Veriqa flow — without publishing a new one; the other ways are compared in You already have a bot.
  • Claims on top of the base: whatever your adapter returns
  • Confirmation in the channel: declared by the adapter
  • Secret message: declared by the adapter

Telegram in Python

A working reference adapter in Python: the same Telegram bot as the built-in channel, connected over HTTP instead. Use it as a template for an adapter in any language: the code that talks to Veriqa and the code that talks to Telegram are kept apart.Claims on top of the base: given_name, family_name, preferred_username, locale, picturePhone number: phone_number and phone_number_verified on request — the user shares the number with a button in the chatConfirmation in the channel: yes — two buttons under the messageSecret message: not neededThe sample: samples/python/custom-channel-telegram/.

WhatsApp through Twilio in Node

A working reference adapter in Node that delivers WhatsApp through a Twilio account as a service of its own. The built-in WhatsApp channel can also deliver through Twilio (delivery through Twilio); this sample is a starting point for an adapter of your own.Claims on top of the base: phone_number, given_nameConfirmation in the channel: yes — two quick-reply buttonsSecret message: needed — one tapThe sample: samples/node/custom-channel-whatsapp-twilio/.

WhatsApp through Baileys

A working reference adapter in Node that links a WhatsApp number as a companion device, the way WhatsApp Web does — no Meta Business account and no provider. Meant for debugging WhatsApp scenarios, for small teams and for your own use.Risk: it runs on an unofficial WhatsApp Web client, and WhatsApp may ban the linked number — link a separate number you can afford to lose.Claims on top of the base: phone_number, given_nameConfirmation in the channel: yes — a poll with two optionsSecret message: needed — one tapThe sample: samples/node/custom-channel-whatsapp-baileys/.
You can also connect the Instagram and Messenger relays through SendPulse and UChat from the channel-adapters repository as separate services (see Other messaging apps). Sign-in with Google, Apple, Huawei and other providers is built into the core (see Sign-in with a provider account); the sample samples/dotnet/custom-channel-id-providers/ shows how to build an alternative adapter for this sign-in over the HTTP channel. To write your own adapter, with reference adapters in Python, Node and .NET, see Build a channel in any language.

Other messaging apps

Adapters for LINE, Slack, Microsoft Teams, Discord, Zalo, KakaoTalk and Threema are already implemented, but they live outside the core, in the channel-adapters repository (see the source code). Each one is a separate .NET assembly, Veriqa.ChannelAdapter.<Channel>, built on the core contracts package. The host that embeds Veriqa registers it together with a channel declaration for the core (CoreChannelDeclaration); without the declaration the sign-in page does not offer the channel. The README of each adapter covers the sign-in flow, the platform setup and a minimal host; the ones run live also have a section on what the live platform revealed. “Live run” means a sign-in on the real platform with a real bot or app; “against an API stand-in” means a full sign-in against a local double of the platform API, written from its documentation.

LINE

Claims on top of the base: picture, localeStart: a line.me link with the text pre-filledTested: against an API stand-in

Slack

Claims on top of the base: given_name, family_name, preferred_username, email, picture, localeStart: the /veriqa <code> command in SlackTested: live run — both confirm and decline

Microsoft Teams

Claims on top of the base: given_name, family_name, preferred_username, emailStart: a deep link to a chat with the botTested: against an API stand-in

Discord

Claims on top of the base: preferred_username, picture, localeStart: a QR code or a link to the OAuth2 authorization page, or the /veriqa code:<code> command; the bot has to share a server with the userTested: live run — both confirm and decline, with claims from the real profile

Zalo

Claims on top of the base: pictureStart: the text auth_<code> sent to the botTested: against an API stand-in

KakaoTalk

Claims on top of the base: emailPhone number: not through the bot — only with your own Kakao Login or Kakao Sync integration (phone number)Start: the text auth_<code> sent to the botTested: against an API stand-in

Threema

Claims on top of the base: none — only the base onesStart: a threema.id linkTested: against an API stand-in
Slack, Zalo and KakaoTalk have no link that carries the transaction to the bot, so the sign-in page does not offer them by itself yet: the user gets the sign-in code some other way. The same repository has relays for Instagram and Messenger through the SendPulse and UChat chatbots: inside the host process, or as a separate service connected as an HTTP channel.