Description
Veriqa.app Passwordless Login adds a “Sign in with a messaging app” button to the standard WordPress login page. A visitor clicks it, scans a QR code with the phone camera or opens the link on the phone, and confirms the sign-in with one tap in a chat with the site’s bot. No password, no SMS code, no captcha. Visitors log in with Telegram, WhatsApp or Email.
The confirmation runs on a Veriqa server: your own installation, or one run for you. The plugin talks to it over OpenID Connect, the same standard the “Sign in with Google” buttons use, so the server decides which channels the site offers: Telegram, WhatsApp, other channels or Email.
What the plugin does
- Adds “Sign in with a messaging app” to the login form and “Register with a messaging app” to the registration form, so visitors can register with Telegram or WhatsApp too.
- Lets every user link a messaging app on their profile page and sign in with it from then on. Administrators see the link and can remove it.
- Registers a new account at the first sign-in when “Anyone can register” is on in Settings → General. When it is off, only users who have linked a messaging app can sign in with one.
- Never matches an existing account by email: an account is reached only through a link its owner made, or the account created at registration.
- Runs WordPress account checks before starting a session, including checks from plugins that support passwordless sign-in. If your site requires a second factor, verify that your two-factor plugin supports Veriqa sign-in before you enable Veriqa.
- Gives a new account the address the Veriqa server confirmed. A messaging app carries no email, so without one the account gets an address that can never receive mail, such as
telegram-1304543232@telegram.veriqa.invalid.
How it is built
- OpenID Connect authorization code flow with PKCE (S256), state bound to the browser and nonce.
- The
id_tokensignature is checked against the server’s published keys (RS256, RS384, RS512) with the PHP OpenSSL extension; issuer, audience, nonce and token times are checked as OpenID Connect Core 3.1.3.7 asks. - Endpoints come from the server’s discovery document; it and the keys are cached, and a key rotation on the server is picked up on its own.
- A link is kept per Veriqa server: changing the server address on the settings page asks users to link their messaging apps again.
- Requires the PHP OpenSSL extension; without it the buttons stay hidden and the settings page says why.
- No new database tables. Uninstalling removes the settings, the cached data and the users’ links; the accounts stay.
External services
The plugin connects to the Veriqa server whose address you enter on the settings page. Without that address it sends nothing anywhere. The server can be your own installation of Veriqa or one operated for you.
- When a visitor clicks the button, the browser is sent to the server’s sign-in page with the site’s client ID, the return address, the requested scopes (
openid profile email channel), the site’s language and one-time security values. The visitor then confirms in a messaging app of their choice on the server’s side. - When the visitor comes back, the site sends the server the one-time code, the client ID and secret, and the security value, and receives the visitor’s identity: a stable identifier, the name the messaging app gives, the channel used and, if confirmed, an email address.
- The site also reads the server’s public configuration and public keys to check the identity.
Veriqa terms of service: https://veriqa.app/terms
Veriqa privacy policy: https://veriqa.app/privacy
If you run your own Veriqa server, the data stays between your site and your server.
Installation
- Install and activate the plugin.
- In your Veriqa server, register the site as a client. The return address to enter is shown on Settings → Veriqa Sign-In; it looks like
https://example.com/wp-login.php?action=veriqa_callback. - On Settings → Veriqa Sign-In, enter the server address (issuer), the client ID and the client secret, and save.
- Open the sign-in page in a private window: the “Sign in with a messaging app” button is there.
To let new visitors register with a messaging app, turn on “Anyone can register” in Settings → General.
Registration and account linking use MySQL or MariaDB advisory locks. If you route database queries through a proxy or drop-in, send lock and identity operations over the same connection to the database writer. For replication, use row-based logging or mixed logging that records these writes as row events.
FAQ
Do I need a Veriqa server?
Yes. The plugin is the site’s half of the sign-in; the confirmation in the messaging app, the bots and the QR code are on the Veriqa server. See https://veriqa.app/docs for how to run one.
Which messaging apps can visitors use?
The ones the Veriqa server has switched on: Telegram, WhatsApp, other channels and Email. Some servers also offer Instagram Direct or Facebook Messenger. The plugin shows one button and the server offers the choice.
What happens with existing users?
They keep signing in with their password. To use a messaging app, a user signs in once with the password and clicks “Link a messaging app” on the profile page.
A visitor sees “This messaging app account is not linked to a user on this site yet”. Why?
Registration is off on the site, and nobody has linked that account yet. The user signs in with the password and links the messaging app on the profile page, or the site turns on “Anyone can register”.
Does it work with custom login pages?
The buttons and their styles are made for the standard wp-login.php forms. Login pages built by other plugins show the buttons if they fire the login_form and register_form actions, styled by the page’s theme.
Does it work on multisite?
Yes, for users who already belong to a site: they link a messaging app on their profile and sign in with it on the sites they are members of. On a network the plugin does not register new users, so network signup and activation stay in charge.
Changelog
1.0.1
- Applies WordPress sign-in policies before starting a session.
- Keeps one owner for each linked identity and resumes interrupted account registrations when possible.
- Tightens OpenID Connect endpoint and token audience checks.
1.0.0
- First release.