Login setup

Set up Touchque Login, the hosted sign-up and sign-in pages for your own customers: the apps that use them, social and company sign-in, branding, security, your own domain and the emails.

Touchque Login gives your customers sign-up and sign-in pages on your brand, so you do not build passwords, passkeys, second steps and resets yourself. Your apps send customers to these pages and get them back signed in, over standard OpenID Connect.

Login setup is where you set it all up: the sign-in address, the apps and APIs that use it, social and company sign-in, roles, the look of the pages, the sign-in rules, attack protection, the customers' own account page, your own domain, and who sends the emails and texts.

This is for your customers. Your own staff sign in to work apps through SSO apps; your own app's users on the 2FA API are End users.

In the dashboardCustomers → Customer identity → Login setupdashboard.touchque.com/identity

Permissions

  • Developers who connect your apps, and the admins who decide how customers sign in.
  • Every member of the organization can open every tab and read the settings. Only owners and admins can change them, and only they see the setup guide (Set up Touchque Login).
  • Changes that lower your customers' sign-in security, change who sends their codes, or let an app act for customers wait for your phone's approval if two-step verification is on for your account. Each tab's settings below say which.

Set up Touchque Login

  1. Open Customers → Customer identity → Login setup. While nothing is set up, the guide Set up Touchque Login opens (or press Set up Touchque Login).
  2. Name and address: type the Name your customers see and the Sign-in address (for example acme for acme.login.touchque.com), then press Turn on Touchque Login.
  3. Your first app: press Add an app and add the website or app that will use the pages (see the next question).
  4. Sign-up and sign-in: choose Anyone can sign up or Only people you add, when to ask for a second step, and the Methods. Press Save sign-up and sign-in.
  5. Make it yours and Try it are optional: open Branding, or open the sign-in page and sign up with a test address.

The address is 3–63 lowercase letters, digits and hyphens; some words (such as www, api, login, admin) are reserved and a taken address is refused. You can add your own domain later on Custom domains.

Add an app and configure client ID, secret and callback URLs

  1. On Login setup, open the Apps tab and press Add app.
  2. Pick the type: Single-page app, Web app with a server, Mobile or desktop app or Machine to machine.
  3. Type the Name (shown on the sign-in page as "to continue to …").
  4. Under Callback URLs, type each address in your app that customers return to after sign-in, one per line, exactly as your app sends it (for example https://app.acme.com/callback).
  5. Press Add app. A web app or a machine-to-machine app shows Copy the client secret now: copy the Client ID and Client secret to your server and press I saved it.
  6. The app's page opens with the Issuer, the Client ID and a Quickstart with your values filled in.

The secret is shown only once: Touchque keeps only a fingerprint of it. If you lose it, press Rotate secret on the app's page (the old one stops at once). To change the callback URLs later, edit them under Settings on the app's page and save.

Sign customers in from a mobile or desktop app

  1. On Login setup → Apps, press Add app and pick Mobile or desktop app.
  2. Under Callback URLs, type where the sign-in comes back to your app: a scheme you own written as a reverse domain, with a dot (com.acme.app:/callback); an https link your app opens (Universal Links on iOS, App Links on Android); or, for a desktop app, http://127.0.0.1/callback (any port works).
  3. Press Add app. A mobile or desktop app has no secret: it proves itself with PKCE on every sign-in.
  4. In your app, use the standard OpenID Connect library for your platform. It opens the system browser (ASWebAuthenticationSession on iOS, Custom Tabs on Android) and adds PKCE: AppAuth-iOS, AppAuth-Android, react-native-app-auth (Expo: expo-auth-session) or flutter_appauth. The app's Quickstart has the code for each with your issuer, client ID and callback filled in.
  5. Ask for the offline_access scope to get a refresh token, and keep it in the Keychain on iOS or the Keystore on Android.

Never sign in inside a web view: passkeys, password managers and Google sign-in do not work there, and your app could read the password. Refresh tokens change on every use; if the answer is lost (a tunnel, an app closed mid-request), the same token works once more within 30 seconds. When a browser waits for a tap before opening your app, the page shows Open the app. A customer on the phone that has the Touchque app can link it with Open the Touchque app instead of scanning the code.

Add Sign in with Google or another social provider

  1. At the provider, create an OAuth client. The dialog says where (for Google: Google Cloud console → APIs & Services → Credentials → OAuth client ID).
  2. On Login setup, open Connections and press Add connection.
  3. Pick the provider (Google, Apple, Microsoft, GitHub, Facebook, LinkedIn or X) and press Continue.
  4. Paste the Client ID and Client secret (Apple: Services ID, Team ID, Key ID and Private key (.p8)). Keep Show a button on.
  5. Press Add connection.
  6. Press Edit on the new connection, copy the Callback URL and register it at the provider as the redirect URI.

On your own domain there are two callback URLs: register both. Removing a connection asks you to type its name; people linked only through it, with no password or passkey, can then no longer sign in.

Choose how customers sign in

  1. On Login setup, open Sign-in & security.
  2. Under Sign-up, turn Customers can sign up on or off and set the email check, name and consent options.
  3. Under First step, keep Passwords on or turn it off: without passwords, customers sign in with a passkey or an email code.
  4. Under Second step, choose Ask for it (Never, When the customer set one up, When the sign-in looks risky, Always) and tick the Methods: Passkeys, Touchque app, Email codes, Text message codes.
  5. Set the password rules and session lengths, then press Save in the bar at the bottom.
  6. If the change lowers security and two-step verification is on for your account, approve it on your phone.

Tick at least one method while a second step is asked, or customers cannot finish signing in. Touchque app is a push to the customer's phone with number matching and Vishing Shield. Text message codes need an SMS provider and cost money per text.

Add your brand to the sign-in pages

  1. On Login setup, open Branding.
  2. Set the Name, the Button colour and the Logo (an https URL; without one your organization's logo is used).
  3. Add the Terms of service and Privacy policy links, a Support email and the Default language.
  4. Check the preview next to the form, then press Save in the bar at the bottom.

New sign-ins show the changes. A small "Secured by Touchque" line always stays at the bottom of the pages; on your own domain the top bar shows only your logo and name.

Use your own domain and passkey domain

  1. On Login setup, open Custom domains and press Add domain.
  2. Choose On a verified domain and type the subdomain (only a CNAME is then needed), or Another domain and type the full name (for example login.acme.com). Press Add domain.
  3. Put the DNS records shown (CNAME, and TXT for another domain) at your DNS provider. Behind Cloudflare, keep the record DNS only.
  4. Press Check DNS. Touchque also checks by itself every 5 minutes for 72 hours. When it shows as verified, press Use as issuer.
  5. Under Passkey domain, choose what Passkeys belong to before customers make passkeys.
  6. Optional: under Only on your domain, turn off the login.touchque.com address once your domain's certificate is active.

A passkey belongs to one domain for good. Passkeys made on the login.touchque.com address do not work on your own domain; those customers sign in another way there and can add a passkey again. Once customers have passkeys, the passkey domain can no longer change. A verified domain is one your organization proved under Domains.

Migrate customers without a password reset

  1. Build an https endpoint on your side that answers Touchque's signed user_store.verify_password and user_store.get_user requests within 5 seconds.
  2. On Login setup, open Sign-in & security and find Move your users in.
  3. Type the Endpoint and press Test: it should answer a signed user_store.ping.
  4. Press Start moving users in. If two-step verification is on for your account, approve on your phone.
  5. Watch Moved in so far and Last call. When everyone has moved in, press Remove.

At a customer's first password sign-in Touchque asks your endpoint; when the password is right, the account is made here with that password and your database is not asked about it again. Requests are signed like Touchque's webhooks, so your SDK's webhook check verifies them. Passwords must stay on while this is on.

Send sign-in emails and texts from your own provider

  1. On Login setup, open Email & SMS.
  2. On the Email card, press Use your own provider (or Change).
  3. Pick the Provider (SMTP, Amazon SES, Postmark or SendGrid), choose the From address on one of your verified domains, and fill in the provider's fields.
  4. Press Save and approve on your phone if two-step verification is on for your account.
  5. Press Send test, type an address and press Send.
  6. For texts, do the same on the Text messages (SMS) card (Twilio or Netgsm) and limit Countries texts may go to.

Without your own provider, Touchque's transport sends them for you. Changing or removing a provider asks for your phone because whoever runs it can read the codes it carries.

Settings reference

Overview

SettingDescription
AddressThe sign-in pages' address, which is also the OpenID Connect issuer your apps use.
OpenID configuration{address}/.well-known/openid-configuration, for any OpenID Connect library.
PagesOn: customers can sign in. Turning it off stops new sign-ins and token refreshes on every app.
Open sign-in pageOpens the sign-in page of your first app with a callback URL, to look at it.

Apps

SettingDescription
App typeSingle-page app (in the browser, PKCE, no secret), Web app with a server (keeps a client secret), Mobile or desktop app (PKCE, custom-scheme or loopback redirect), Machine to machine (a backend calling your API, no users, no callback URL). Chosen when the app is added.
CredentialsIssuer, Client ID, Client secret (only its last four characters, with Rotate secret) and Sign-in (how the app signs in).
NameShown on the sign-in page.
Callback URLsWhere customers return with the code. One per line, matched exactly.
Sign-out URLsAllowed post_logout_redirect_uri values.
Sign-in routeYour app's own https URL that starts a sign-in. Business account invitations and the dashboard open it.
Business accountsWhether signing in needs one: Not used, Optional (?organization=) or Required (the person picks one).
Web originsSingle-page apps only: origins that may call the token endpoint from the browser (CORS).
Access token lifetimeSeconds, 60 to 86,400. Default 3,600.
Stay signed in forDays a refresh token family lasts, however often it is used: 1 to 730. Default 90.
Your own appYour own apps skip the "allow access" screen. Turn off for third-party apps.
App is onOff: no new sign-ins or tokens for this app.
Acting for your customersApps with a secret only. Use a customer's own token (token exchange) and Ask on the customer's phone (CIBA) let an AI agent or another server of yours act for a customer. Turning one on waits for your phone's approval; turning it off is instant.
QuickstartSign-in code for the stacks that fit the app type, with your domain and client ID filled in. The secret stays an environment variable.
Remove appYou type the app name to confirm. Its refresh tokens stop at once; customers' accounts stay.

APIs

SettingDescription
NameThe API's name in the dashboard.
IdentifierThe access token's audience. A URL is usual; it never has to resolve. Cannot change later.
ScopesOne per line: the scope, then what it allows (shown on the consent screen).
Allow refresh tokensApps may ask for offline_access to stay signed in.
Role-based accessScopes are granted only when the customer's roles include them.
Put permissions in the tokenWith role-based access: adds a permissions claim your API can read.
Machine-to-machine accessFor each machine-to-machine or web app: a switch, then the scopes it may get with its own credentials.
RemoveApps can no longer ask for tokens for it. Tokens already issued work until they expire.

Connections

SettingDescription
Social sign-inButtons on the sign-in and sign-up pages: Google, Apple, Microsoft, GitHub, Facebook, LinkedIn, X.
Enterprise connectionsA business customer's own identity provider over OpenID Connect (Issuer) or SAML (IdP metadata URL or pasted metadata XML).
OnThe switch in each row turns a connection on or off.
Name on the buttonThe text on the sign-in button.
Connection nameEnterprise connections: lowercase, used in ?connection=. Set when the connection is added.
Client ID / Client secretThe keys from the provider (Apple: Services ID, Team ID, Key ID, Private key (.p8)). A saved secret is never shown; type a new one to replace it.
AccountsMicrosoft only: common (work, school and personal), organizations (work and school) or one directory (tenant) ID.
Callback URLShown when you edit a saved connection: register it at the provider as the redirect URI (two when you use your own domain). SAML shows Entity ID (audience), ACS URL and Metadata instead.
Email domainsEnterprise connections: one per line. People with these domains go straight to this sign-in, and their email counts as verified.
Show a buttonOn the sign-in and sign-up pages.
New people can sign up with itOff: only people who already have an account can use it.
Keep tokens for apps working for peopleNot for SAML. An app acting for a signed-in person (an AI agent) gets a fresh provider access token by token exchange; Touchque refreshes it and the refresh token never leaves. Turning this on waits for your phone.
Other apps that may use itApps besides the one the person signed in to. Only confidential apps with Use a customer's own token on are listed. Adding one waits for your phone.

Roles

SettingDescription
NameUp to 80 characters, for example "Support agent".
DescriptionUp to 300 characters.
PermissionsOne checkbox per scope of each API. An API with Roles off does not limit its tokens by roles yet.
AccountsHow many accounts have the role. Removing a role takes its permissions away at their next token.

Branding

SettingDescription
NameOn every page and email.
Button colourThe main button's colour.
LogoAn https URL. Without one, your organization's logo is used.
Terms of serviceSign-up asks customers to accept it.
Privacy policyA link on the pages.
Support emailFor blocked customers.
Default languageEnglish or Türkçe, when the browser asks for neither.
Approving appThe app name in "Approve on the … app". Up to 40 characters; empty uses Touchque (or your brand when your own app approves through the Mobile SDK).

Sign-in & security

SettingDescription
Customers can sign upOff: only accounts you create, import or invite can sign in.
Confirm the email at sign-upA 6-digit code before the first sign-in.
Refuse throwaway inboxesRefuses addresses from services that hand out an inbox for minutes. Forwarding addresses tied to a person still work.
Ask for the nameSign-up asks for the customer's name.
Marketing consent boxAn optional checkbox; the answer is kept as a consent record.
PasswordsOff: no passwords at all. Customers sign in with a passkey or an email code and sign up with the code alone; passwords already set are kept unused.
Email codes instead of a passwordAn option on the password page. Without passwords it becomes Email codes and stays on.
Ask for itWhen the second step is asked: Never, When the customer set one up (default), When the sign-in looks risky, Always. Lowering it waits for your phone.
MethodsPasskeys (also the "Sign in with a passkey" button), Touchque app, Email codes, Text message codes. Adding email or text codes waits for your phone.
Minimum length8 to 64 characters. Lowering it waits for your phone.
Breached passwordsRefuse them, Warn only or Don't check, against known breaches (the password never leaves). Lowering it waits for your phone.
Signed out after idleDays without any sign-in activity. Default 3.
Signed out after at most1 to 365 days, however active. Default 30. Raising it waits for your phone. A session works only in the browser that signed in.
Move your users inEndpoint (https, answers within 5 seconds), Test, Ask it (off: customers not moved in yet cannot use their old password), Moved in so far, Last call, Remove. Saving the endpoint waits for your phone.
Profile fieldsDetails asked after sign-in, three at a time: Key, Label (English), Label (Turkish), Type (Text, Phone number, Date, Choice, Checkbox), Choices, Ask after this many sign-ins (0: right after sign-up), Required. name, givenName, familyName and nickname go on the account; other keys go in user metadata.

Attack protection

SettingDescription
Pause the accountAfter 10 wrong passwords in 15 minutes, password sign-in pauses for that account. Other accounts and passkeys are not affected.
Email the owner an unlock linkOnce per pause. If it was them, one click lets them try again.
Watch failed sign-ins per addressAn address past the limit in an hour must pass the bot challenge, or waits an hour without one.
Failed sign-ins before it counts5 to 1,000 in an hour, across all accounts. Default 20.
Provider / Site key / Secret keyThe bot challenge: Cloudflare Turnstile, hCaptcha or Google reCAPTCHA v2, with keys from the provider for your sign-in domain. The secret key is never shown again after saving.
WhenOff, When an address looks suspicious, Always (every password, sign-up and reset page).
What they getBrowsers driven by software: Ask for a passkey or the Touchque app (recommended, default), Block them, Only record them.
When one is foundBreached password at sign-in: Ask for a new password (default), Email the customer (at most once a month), Don't check.
Email about sign-ins from a new browserWith a link to the devices page of their account.
Ask the Touchque risk engineUsed when the second step is set to When the sign-in looks risky.
Caught latelyThe latest 25 detections: Account paused, Suspicious address, Breached password, Bot check provider unreachable.

Account page

SettingDescription
AddressThe customers' own account page ({address}/account). Link to it from your app's menu.
Account pageOff: the address shows "not available". Customers change their profile, password, passkeys and devices there, download their data and delete their account.
Customers can change their emailThe new address is confirmed by a link; the old one is told.
Customers can delete their accountKVKK and GDPR give them the right to erasure. Off: they ask your support instead.
“Back to” linkYour site, shown at the bottom of the page.
My Account APIAPI switch and Audience: the same changes from your own app's settings screens, with the customer's access token. Only your first-party apps can get one. Scopes: read:me, update:me, manage:me:security, delete:me.

Custom domains

SettingDescription
Add domainOn a verified domain (a subdomain of a domain your organization verified; only a CNAME) or Another domain (proved with a TXT record too).
DNS recordsType, Name and Value to copy. Problems found (no record, pointing elsewhere, Cloudflare's proxy, a CAA record) show with their fix.
Check DNS / Use as issuer / Check certificateCheck the records now, make a verified domain the issuer your apps use, and check its certificate (issued on the first visit once the CNAME points here, renewed automatically).
Remove domainSign-ins on it stop at once. Passkeys made on it only work there.
Passkeys belong toThe address they were made on, a verified sign-in domain, or a domain above it your organization verified (acme.com for login.acme.com). Cannot change once customers have passkeys.
Turn off <slug>.login.touchque.comServes sign-in only on your domain: pages on the Touchque address move there and other calls there are refused. Needs a domain used as issuer with an active certificate.

Email & SMS

SettingDescription
EmailVerification codes, password links, sign-in codes and notices. The badge says who sends them: your provider, Touchque’s transport or Not set.
ProviderEmail: SMTP, Amazon SES, Postmark, SendGrid. SMS: Twilio, Netgsm. Saving or removing it waits for your phone.
From address / From nameEmail: an address on one of your organization's verified domains or a verified sign-in domain (your provider must have verified it too), and the sender name.
SenderSMS: your approved sender name (Netgsm) or a phone number (Twilio).
Send testSends a test email or text through the current transport.
Countries texts may go toCalling codes like +90, +49. Empty: any country. Limiting them stops SMS pumping to expensive numbers.
Delivery logThe newest 50 messages, kept for 30 days. What a real provider sent is not kept: only the local inbox shows codes and links.

Limits

  • Needs the Touchque Login module on (Modules). One Touchque Login per organization.
  • Up to 200 apps, 50 APIs (100 scopes each), 50 connections and 5 custom domains. Up to 30 callback URLs per app.
  • Up to 10 profile fields, asked three at a time.
  • Test emails and texts: 20 per hour.
  • Your user store endpoint must be https and answer within 5 seconds; after 5 failures in a row it is left alone for a minute.
  • The pages always end with a small "Secured by Touchque" line; there is no setting to hide it.
  • Changes and every customer sign-in are written to the System log.

See also

  • Customer accounts: Every account your customers have on your Touchque Login sign-in pages: find one, add or import accounts, export them all, and help a customer who is stuck.
  • Business accounts: Your business customers (B2B) on Touchque Login: each company's members, their roles inside it, invitations, and sign-in through the company's own identity provider.
  • Hooks: Your own code that runs at points of the 2FA approval pipeline and Touchque Login, deployed from your server; here you see every Hook and approve the versions that lower security.
  • Domains: Your organization's email domains: prove each one with a DNS TXT record so invites, directory sync, joining by email domain and threat protection can use it.
  • General: The organization's name, logo, description and slug, who sends its invitations, a security checkup, and leaving, handing over or deleting the organization.
  • System log: Every request and sign-in Touchque answered for your app, with its IP, browser, status, latency and the redacted request, newest first.
  • Modules: What your organization has: every module with what it includes and where it stands, adding one, turning one off safely, exporting its data and the deletion certificates.

API and SDKs

Changelog

  • Improved2026.11.26.8 Mobile apps keep customers signed in when a token refresh answer is lost: the same refresh works once more within 30 seconds.
  • Improved2026.11.26.8 Customers signing in on the phone that has the Touchque app can link it with one tap instead of scanning the code, and a sign-in that returns to a mobile app offers an Open the app button when the browser waits for a tap.
  • New2026.11.26.8 The docs explain how to sign customers in from a mobile or desktop app with the system browser and AppAuth.
  • Fixed2026.11.26.7 Creating a mobile or desktop app with an app-scheme callback no longer breaks its Quickstart, which now shows sign-in code for iOS, Android, React Native and Flutter through the system browser.
  • Improved2026.11.26.7 A callback URL that cannot be registered now says why, for example a custom scheme without a dot.
  • New2026.11.17 Touchque Login can move users in from your own database at first sign-in, and can run without passwords.

Full changelog →