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
- Open Customers → Customer identity → Login setup. While nothing is set up, the guide Set up Touchque Login opens (or press Set up Touchque Login).
- Name and address: type the Name your customers see and the Sign-in address (for example
acmeforacme.login.touchque.com), then press Turn on Touchque Login. - Your first app: press Add an app and add the website or app that will use the pages (see the next question).
- 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.
- 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
- On Login setup, open the Apps tab and press Add app.
- Pick the type: Single-page app, Web app with a server, Mobile or desktop app or Machine to machine.
- Type the Name (shown on the sign-in page as "to continue to …").
- 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). - 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.
- 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
- On Login setup → Apps, press Add app and pick Mobile or desktop app.
- 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). - Press Add app. A mobile or desktop app has no secret: it proves itself with PKCE on every sign-in.
- 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.
- Ask for the
offline_accessscope 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
- At the provider, create an OAuth client. The dialog says where (for Google: Google Cloud console → APIs & Services → Credentials → OAuth client ID).
- On Login setup, open Connections and press Add connection.
- Pick the provider (Google, Apple, Microsoft, GitHub, Facebook, LinkedIn or X) and press Continue.
- Paste the Client ID and Client secret (Apple: Services ID, Team ID, Key ID and Private key (.p8)). Keep Show a button on.
- Press Add connection.
- 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
- On Login setup, open Sign-in & security.
- Under Sign-up, turn Customers can sign up on or off and set the email check, name and consent options.
- Under First step, keep Passwords on or turn it off: without passwords, customers sign in with a passkey or an email code.
- 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.
- Set the password rules and session lengths, then press Save in the bar at the bottom.
- 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
- On Login setup, open Branding.
- Set the Name, the Button colour and the Logo (an https URL; without one your organization's logo is used).
- Add the Terms of service and Privacy policy links, a Support email and the Default language.
- 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
- On Login setup, open Custom domains and press Add domain.
- 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. - Put the DNS records shown (CNAME, and TXT for another domain) at your DNS provider. Behind Cloudflare, keep the record DNS only.
- Press Check DNS. Touchque also checks by itself every 5 minutes for 72 hours. When it shows as verified, press Use as issuer.
- Under Passkey domain, choose what Passkeys belong to before customers make passkeys.
- Optional: under Only on your domain, turn off the
login.touchque.comaddress 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
- Build an https endpoint on your side that answers Touchque's signed
user_store.verify_passwordanduser_store.get_userrequests within 5 seconds. - On Login setup, open Sign-in & security and find Move your users in.
- Type the Endpoint and press Test: it should answer a signed
user_store.ping. - Press Start moving users in. If two-step verification is on for your account, approve on your phone.
- 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
- On Login setup, open Email & SMS.
- On the Email card, press Use your own provider (or Change).
- 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.
- Press Save and approve on your phone if two-step verification is on for your account.
- Press Send test, type an address and press Send.
- 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
| Setting | Description |
|---|---|
| Address | The 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. |
| Pages | On: customers can sign in. Turning it off stops new sign-ins and token refreshes on every app. |
| Open sign-in page | Opens the sign-in page of your first app with a callback URL, to look at it. |
Apps
| Setting | Description |
|---|---|
| App type | Single-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. |
| Credentials | Issuer, Client ID, Client secret (only its last four characters, with Rotate secret) and Sign-in (how the app signs in). |
| Name | Shown on the sign-in page. |
| Callback URLs | Where customers return with the code. One per line, matched exactly. |
| Sign-out URLs | Allowed post_logout_redirect_uri values. |
| Sign-in route | Your app's own https URL that starts a sign-in. Business account invitations and the dashboard open it. |
| Business accounts | Whether signing in needs one: Not used, Optional (?organization=) or Required (the person picks one). |
| Web origins | Single-page apps only: origins that may call the token endpoint from the browser (CORS). |
| Access token lifetime | Seconds, 60 to 86,400. Default 3,600. |
| Stay signed in for | Days a refresh token family lasts, however often it is used: 1 to 730. Default 90. |
| Your own app | Your own apps skip the "allow access" screen. Turn off for third-party apps. |
| App is on | Off: no new sign-ins or tokens for this app. |
| Acting for your customers | Apps 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. |
| Quickstart | Sign-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 app | You type the app name to confirm. Its refresh tokens stop at once; customers' accounts stay. |
APIs
| Setting | Description |
|---|---|
| Name | The API's name in the dashboard. |
| Identifier | The access token's audience. A URL is usual; it never has to resolve. Cannot change later. |
| Scopes | One per line: the scope, then what it allows (shown on the consent screen). |
| Allow refresh tokens | Apps may ask for offline_access to stay signed in. |
| Role-based access | Scopes are granted only when the customer's roles include them. |
| Put permissions in the token | With role-based access: adds a permissions claim your API can read. |
| Machine-to-machine access | For each machine-to-machine or web app: a switch, then the scopes it may get with its own credentials. |
| Remove | Apps can no longer ask for tokens for it. Tokens already issued work until they expire. |
Connections
| Setting | Description |
|---|---|
| Social sign-in | Buttons on the sign-in and sign-up pages: Google, Apple, Microsoft, GitHub, Facebook, LinkedIn, X. |
| Enterprise connections | A business customer's own identity provider over OpenID Connect (Issuer) or SAML (IdP metadata URL or pasted metadata XML). |
| On | The switch in each row turns a connection on or off. |
| Name on the button | The text on the sign-in button. |
| Connection name | Enterprise connections: lowercase, used in ?connection=. Set when the connection is added. |
| Client ID / Client secret | The 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. |
| Accounts | Microsoft only: common (work, school and personal), organizations (work and school) or one directory (tenant) ID. |
| Callback URL | Shown 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 domains | Enterprise connections: one per line. People with these domains go straight to this sign-in, and their email counts as verified. |
| Show a button | On the sign-in and sign-up pages. |
| New people can sign up with it | Off: only people who already have an account can use it. |
| Keep tokens for apps working for people | Not 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 it | Apps 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
| Setting | Description |
|---|---|
| Name | Up to 80 characters, for example "Support agent". |
| Description | Up to 300 characters. |
| Permissions | One checkbox per scope of each API. An API with Roles off does not limit its tokens by roles yet. |
| Accounts | How many accounts have the role. Removing a role takes its permissions away at their next token. |
Branding
| Setting | Description |
|---|---|
| Name | On every page and email. |
| Button colour | The main button's colour. |
| Logo | An https URL. Without one, your organization's logo is used. |
| Terms of service | Sign-up asks customers to accept it. |
| Privacy policy | A link on the pages. |
| Support email | For blocked customers. |
| Default language | English or Türkçe, when the browser asks for neither. |
| Approving app | The 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
| Setting | Description |
|---|---|
| Customers can sign up | Off: only accounts you create, import or invite can sign in. |
| Confirm the email at sign-up | A 6-digit code before the first sign-in. |
| Refuse throwaway inboxes | Refuses addresses from services that hand out an inbox for minutes. Forwarding addresses tied to a person still work. |
| Ask for the name | Sign-up asks for the customer's name. |
| Marketing consent box | An optional checkbox; the answer is kept as a consent record. |
| Passwords | Off: 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 password | An option on the password page. Without passwords it becomes Email codes and stays on. |
| Ask for it | When 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. |
| Methods | Passkeys (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 length | 8 to 64 characters. Lowering it waits for your phone. |
| Breached passwords | Refuse them, Warn only or Don't check, against known breaches (the password never leaves). Lowering it waits for your phone. |
| Signed out after idle | Days without any sign-in activity. Default 3. |
| Signed out after at most | 1 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 in | Endpoint (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 fields | Details 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
| Setting | Description |
|---|---|
| Pause the account | After 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 link | Once per pause. If it was them, one click lets them try again. |
| Watch failed sign-ins per address | An address past the limit in an hour must pass the bot challenge, or waits an hour without one. |
| Failed sign-ins before it counts | 5 to 1,000 in an hour, across all accounts. Default 20. |
| Provider / Site key / Secret key | The 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. |
| When | Off, When an address looks suspicious, Always (every password, sign-up and reset page). |
| What they get | Browsers driven by software: Ask for a passkey or the Touchque app (recommended, default), Block them, Only record them. |
| When one is found | Breached 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 browser | With a link to the devices page of their account. |
| Ask the Touchque risk engine | Used when the second step is set to When the sign-in looks risky. |
| Caught lately | The latest 25 detections: Account paused, Suspicious address, Breached password, Bot check provider unreachable. |
Account page
| Setting | Description |
|---|---|
| Address | The customers' own account page ({address}/account). Link to it from your app's menu. |
| Account page | Off: 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 email | The new address is confirmed by a link; the old one is told. |
| Customers can delete their account | KVKK and GDPR give them the right to erasure. Off: they ask your support instead. |
| “Back to” link | Your site, shown at the bottom of the page. |
| My Account API | API 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
| Setting | Description |
|---|---|
| Add domain | On a verified domain (a subdomain of a domain your organization verified; only a CNAME) or Another domain (proved with a TXT record too). |
| DNS records | Type, 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 certificate | Check 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 domain | Sign-ins on it stop at once. Passkeys made on it only work there. |
| Passkeys belong to | The 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.com | Serves 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
| Setting | Description |
|---|---|
| Verification codes, password links, sign-in codes and notices. The badge says who sends them: your provider, Touchque’s transport or Not set. | |
| Provider | Email: SMTP, Amazon SES, Postmark, SendGrid. SMS: Twilio, Netgsm. Saving or removing it waits for your phone. |
| From address / From name | Email: 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. |
| Sender | SMS: your approved sender name (Netgsm) or a phone number (Twilio). |
| Send test | Sends a test email or text through the current transport. |
| Countries texts may go to | Calling codes like +90, +49. Empty: any country. Limiting them stops SMS pumping to expensive numbers. |
| Delivery log | The 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
- Touchque Login: sign customers in from your app
- Endpoints on your sign-in domain
- Attack protection
- Passkey domain and your own user database
- An AI agent acting for a customer (token exchange, CIBA, token vault)
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.