Set up app sign-in
Connect Cloud to its trusted authenticator website and prepare a first sign-in.
App sign-in lets people approve a Cloud login in a paired authenticator instead of entering a password or opening an email link. An administrator chooses the trusted authenticator website; people pair their devices. Local and FreeIPA accounts can use it when their account category is allowed.
Before you start
You need administrator access and the HTTPS address of the authenticator your
organization uses. For the project-hosted Cloud Login,
use https://cloud-login.pwa.k2b.dev. Self-hosted apps can use another HTTPS origin. It must be reachable
from users' browsers and devices. If you host it yourself, follow
Run Cloud Login.
Check that General → URL contains the public address of your Cloud. Keep another working sign-in method available for lost-device recovery. App sign-in is a Cloud login method, not Linux authentication or automatically an additional authentication factor.
For FreeIPA accounts, app sign-in checks Cloud's synchronized account state, not the live directory. Keep synchronization healthy. Do not rely on this method if directory-side changes must block access immediately.
Configure the website
- Open Administration → Accounts & sign-in → Sign-in.
- Turn on Enable app sign-in.
- Enter the authenticator origin: its scheme, host and optional port,
for example
https://auth.example.org. Do not include a path, wildcard, query or fragment. Use only a website your operator trusts. - Leave Administrator-assisted pairing off unless administrators should be able to issue a device credential for another person.
- Save. The status should read Enabled — Cloud configured.
Enabled — setup required means the address is missing or invalid. A configured status does not check whether the PWA is running or whether a device can complete sign-in. Enabling it does not remove other sign-in methods.
Administrators can also find setup from My account → Security while the feature is disabled. Other users see it when enabled or when they have device history. Existing device inspection and revocation remain available if the PWA address is missing; the Cloud's own address must still be valid.
The Cloud address under General → URL identifies this Cloud. Changing that origin requires pairing again. Changing the trusted PWA origin does not revoke existing devices: review and revoke credentials separately when replacing an untrusted authenticator.
Sign in with the app
- Pair a device with your account.
- On Cloud's login page, choose your account type if a selector is shown. Login and FreeIPA start with app sign-in; Guests start with email and can switch to the app. Enter your username or an email that identifies one account.
- Keep the login page open and open your authenticator.
- Unlock the app, compare the request with the waiting login page, and approve only if the codes match and you started the request.
The waiting page signs you in after approval. Deny requests you do not recognize. If a request expires, start a new sign-in from Cloud.
Without a paired device, use the prominent email-link alternative for local accounts or the password alternative for FreeIPA. Existing passkeys remain available at the bottom of the page. If your email is shared by multiple accounts, use your username for app sign-in.
Before offering app sign-in to your users, check pairing, approval, denial and lost-device recovery on the browsers and devices your organization supports.
Configure from the CLI
Use a CLI profile connected to the Cloud you want to configure, with an administrator credential:
cld admin app-sign-in config get --json
cld admin app-sign-in config set --config-file ./app-sign-in.json --yesThe file contains all three values:
{
"enabled": true,
"origin": "https://auth.example.org",
"adminPairing": false
}The settings are user.app_approval.enabled, user.app_approval.origin
and user.app_approval.admin_pairing. GUI and CLI use the same save operation.
An empty origin is allowed during setup but cannot authorize pairing or login.
The default is https://cloud-login.pwa.k2b.dev. The same setting supplies
the Install app link, its QR code, and pairing links. Override it when you
host the authenticator elsewhere; it is separate from the Cloud address in app.url.
Maintain the integration
Use stable Cloud and authenticator addresses. Treat authenticator hosting and updates as part of your sign-in security: the website can use its paired credentials. Review device access when replacing an authenticator or responding to a compromise.
For endpoint and SDK details, see the App approval API.