Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.
Atomic can deliver your push verification challenges. For each challenge, Authsignal starts an Atomic Action Flow. Atomic shows an approval card in your app and can send a push notification. The user taps Approve or Deny on the card, your app responds to the challenge with the Authsignal Mobile SDK, and then completes the card.
An Atomic approval card in a banking app, styled with the app's own Atomic theme.
Atomic handles delivery and UI only. A challenge is approved or denied only when your app calls updateChallenge, which signs the response with the device’s push credential, as with every other push provider. Nothing in Atomic can approve a challenge.
Delivery is best-effort, as with managed push. If Authsignal cannot start your Action Flow, the challenge still starts and can be completed from your app. The failure is recorded as a PUSH_SEND_DOWNSTREAM_FAILED event on the user’s timeline.
How it works
Each push starts one flow invocation, so a retried send cannot create a second card.
A card is a single card instance, so once the user answers it, it clears on every device.
Each card expires with its challenge. If the challenge is resolved without the card, for example from your app’s own screen or because a newer challenge replaces it, Authsignal cancels the card.
Atomic Workbench setup
1
Create a stream and stream container for approvals
Create a stream for approval cards, for example Auth, and a stream container that shows it. Your app shows this container as the approval sheet. Note the container ID.
Every card also goes into the Atomic All cards stream, which can’t be turned off. Don’t connect All cards to a container in your app. Use streams and containers made for each purpose instead. If your app already shows All cards, filter approval cards out of it, for example with AACCardListFilter.notEqualTo(AACCardFilterValue.byCardTemplateId(...)).
2
Create the Action Flow
Create an Action Flow with an API start endpoint trigger and a Send card and push notification step that targets your approval stream.
Declare the variables your card uses. Authsignal sends them all as strings.
Leave the card’s expiry unset. Authsignal sets each card to expire with its challenge.
You can add steps after the card, such as a confirmation card. When Authsignal cancels an approval card, it cancels only the card, not the flow.
Turn off swipe-to-dismiss and snooze, so the user answers the card instead of hiding it.
Publish the flow, then note its ID.
The Send card step targets the Auth stream and leaves expiry off.
3
Add Approve and Deny buttons
Add an Approve link button and a Deny submit button. Set each button’s action to Payload, and name them approve and deny:
isAuthButton tells your app the button answers the challenge, and decision says which way. A link button leaves the card in place, so it stays on screen while your app gets an answer from Authsignal, such as a verification code. A submit button removes the card as soon as it’s tapped.
The Approve link button, named approve, with its action set to Payload.
4
Create an API client
Under Configuration > API > API Keys, create an API client with permission to start Action Flows and cancel cards. Note the client ID and secret.
5
Set up Atomic user identity
Atomic identifies the user by the sub claim of a JWT your app supplies. It must equal the Authsignal userId, because Authsignal targets the Action Flow at that user. See Atomic user identity.
6
Configure push notifications
To also send an OS push notification, add your app’s FCM and APNs credentials under Configuration > Notifications.
Portal setup
Enable push verification for your tenant and choose Atomic as the push notification provider. Then enter:
Field
Where to find it in the Atomic Workbench
Customer API base URL
Configuration, e.g. https://12-3.customer-api.atomic.io
Environment ID
Configuration
Action Flow ID
The flow’s API start endpoint trigger
API client ID and secret
Configuration > API > API Keys
OAuth token URL
Optional. Leave blank to use the standard Atomic token endpoint.
On the push verification settings page, select which custom data points to pass to your flow. They are sent as action_<name> and user_<name>.
App integration
The examples use React Native with @atomic.io/react-native-atomic-sdk and react-native-authsignal.
On Android, @atomic.io/react-native-atomic-sdk 26 needs three changes to a standard React Native app:
In the root android/build.gradle, set kotlinVersion = "2.3.21" (or later) and add both org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion} and org.jetbrains.kotlin:compose-compiler-gradle-plugin:${kotlinVersion} to buildscript.dependencies.
Add the Atomic Maven repository, https://downloads.atomic.io/android-sdk/maven, to allprojects.repositories.
In android/app/build.gradle, set coreLibraryDesugaringEnabled true and add coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.3").
Enroll the device
Add a push credential with the Authsignal Mobile SDK, as in Push verification. Pass only the enrollment token. You don’t need a device push token, because Atomic delivers the notification.
// token is the enrollment token from your backend, not a device push tokenawait authsignal.push.addCredential({ token });
The SDK base URL is the client-api host (for example https://12-3.client-api.atomic.io), not the customer-api host used in the portal. The API key is the SDK key’s name.
Show the approval card
Your app needs the ID of the challenge it is about to show. Get it from the pending challenge when the app is in the foreground, or from the push notification the user tapped:
const { data } = await authsignal.push.getChallenge();const challengeId = data?.challengeId;
ModalContainer needs @atomic.io/react-native-atomic-sdk 26 or later, which requires React Native 0.84 or later. On earlier versions, use a StreamContainer with an explicit height.
Approve or deny
When the user taps a button, read the decision from its payload and respond with the Authsignal Mobile SDK. Once Authsignal has the answer, complete the Approve card with the Atomic SDK. That removes it from every device and records the answer under the button’s name in Atomic analytics.
import { Session, type AACCardAction } from "@atomic.io/react-native-atomic-sdk";function readAuthButton(action: AACCardAction) { // SDK 26 on Android wraps the action as { payload: AACCardAction }. const cardAction = (action as AACCardAction & { payload?: AACCardAction }).payload ?? action; const payload = (cardAction.actionPayload ?? {}) as { isAuthButton?: boolean; challengeId?: string; verificationCodeRequired?: string; }; if (!payload.isAuthButton || payload.challengeId !== challengeId) { return null; } return { cardAction, payload };}// Approve is a link button, so the card stays until the app completes it.async function onApprove(action: AACCardAction) { const button = readAuthButton(action); if (!button) { return; } await authsignal.push.updateChallenge({ challengeId, approved: true }); await Session.onCardAction({ type: "submit", cardInstanceId: button.cardAction.cardInstanceId, streamContainerId: button.cardAction.streamContainerId, submitButtonName: "approve", });}// Deny is a submit button, so Atomic has already removed the card.async function onDeny(action: AACCardAction) { if (readAuthButton(action)) { await authsignal.push.updateChallenge({ challengeId, approved: false }); }}
Verification codes
If push verification uses verification codes, your web app shows a code that the user must enter in the mobile app to approve. Card inputs aren’t passed to your app, so collect the code in your app after the user taps Approve. Because Approve is a link button, the card stays on screen while the user enters it.Authsignal sends verificationCodeRequired ("true" or "false") to your flow, and the Approve payload above passes it to your app. When it’s "true", ask for the code before approving. Complete the card only once Authsignal accepts the code. A wrong code returns invalid_code without using up the challenge, so the user can try again:
const response = await authsignal.push.updateChallenge({ challengeId, approved: true, verificationCode });if (response.errorCode === "invalid_code") { // Ask again. The challenge and the card are both still there. return;}await Session.onCardAction({ type: "submit", cardInstanceId, streamContainerId, submitButtonName: "approve" });
The verification code itself is never sent to Atomic or to the device.
Flow variables
Authsignal starts your Action Flow with these variables. All values are strings.
Variable
Description
challengeId
The push challenge ID. Pass it to updateChallenge.
actionCode
The action the user is completing, such as signIn.
Custom action data points you selected in the portal.
user_<name>
Custom user data points you selected in the portal.
Authsignal also passes {"challengeId": "<id>"} as the push notification’s detail, which the Atomic SDK returns from notificationFromPushPayload.
Atomic user identity
Your app supplies Atomic with a JWT through the session delegate. Its sub claim must be the Authsignal userId.
Recommended: mint the JWT in your backend from your own session, signed with your own key, with sub set to the user’s Authsignal userId. Configure the SDK API key in the Atomic Workbench to trust your issuer.
Alternatively: use an Authsignal session access token. It is an RS256 JWT with sub set to the userId. Configure the SDK API key to trust your tenant’s issuer, https://<api-host>/v1/client/public/<tenantId>.
Troubleshooting
No card appears: check that the Atomic user ID (the JWT sub) equals the Authsignal userId, and that the Action Flow is published.
Approval cards show up in your app’s main feed: that container shows the All cards stream. Connect it to a different stream, or filter approval cards out of it.
The card disappears before the user enters the code: Approve is a submit button. Make it a link button, and complete the card from your app.
No push notification: Atomic needs FCM and APNs credentials for your app. The card still appears in your app without them.
A card stays after the challenge expires: check that the Send card step has no expiry of its own. A flow-level expiry overrides the one Authsignal sets.
Delivery failures: see the user’s event timeline for PUSH_SEND_DOWNSTREAM_FAILED events with the status code and error returned by Atomic.
Next steps
Push verification - The full push verification flow, including enrollment and adaptive MFA
Managed push - Deliver push notifications through APNs and FCM instead
Was this page helpful?
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Authsignal","colors":{"primary":"#8b7bff","light":"#8b7bff","dark":"#8b7bff"},"logo":{"light":"https://mintcdn.com/authsignal-23/Q2QPBK1EKmJpLovY/logo/light.png?fit=max\u0026auto=format\u0026n=Q2QPBK1EKmJpLovY\u0026q=85\u0026s=8c4bd51abfac23972d75d85678c2f1ed","dark":"https://mintcdn.com/authsignal-23/Q2QPBK1EKmJpLovY/logo/dark.png?fit=max\u0026auto=format\u0026n=Q2QPBK1EKmJpLovY\u0026q=85\u0026s=275e53c69fb0a7eff954a0d2ed3421a2"},"favicon":"https://mintcdn.com/authsignal-23/LJehOZQCDC4ES5ZZ/favicon.png?fit=max\u0026auto=format\u0026n=LJehOZQCDC4ES5ZZ\u0026q=85\u0026s=5a39c31db14fe195577d579ebd367170","api":{"openapi":["terminal-api.json","management-api.json","server-api.json","client-api.json","call-connect-api.json"],"playground":{"display":"simple"},"mdx":{"server":["https://api.authsignal.com/v1","https://au.api.authsignal.com/v1","https://eu.api.authsignal.com/v1","https://ca.api.authsignal.com/v1","https://uk.api.authsignal.com/v1"]}},"appearance":{"default":"light"},"background":{"decoration":"gradient"},"footer":{"socials":{"x":"https://x.com/authsignal?lang=en","linkedin":"https://www.linkedin.com/company/authsignal","github":"https://github.com/authsignal"}},"seo":{"metatags":{"description":"Learn how to integrate with Authsignal.","canonical":"https://docs.authsignal.com"},"indexing":"navigable"},"integrations":{"gtm":{"tagId":"GTM-MZPJQQSP"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"authsignal-23","hasAudioNarration":false,"actualSubdomain":"authsignal-23","customDomains":["docs.authsignal.com"],"gitSource":{"type":"github","owner":"authsignal","repo":"authsignal-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10a4da9ffae5051c3f9dd5"},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b1279f3897fe74a4e1fcbfe","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API reference","count":120},{"language":"default","tag":"Documentation","count":92},{"language":"default","tag":"Management API","count":44},{"language":"default","tag":"SDKs","count":36},{"language":"default","tag":"Client API","count":32},{"language":"default","tag":"Server API","count":29},{"language":"default","tag":"Integrations","count":27},{"language":"default","tag":"Client","count":26},{"language":"default","tag":"Knowledge base","count":24},{"language":"default","tag":"Authentication methods","count":21}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles/style.css","content":".action-state-pill{border-radius:9999px;padding:0.125rem 0.625rem;font-size:0.75rem;font-weight:500;line-height:1rem;color:#1f2937;background-color:#f3f4f6}.action-state-pill__CHALLENGE_FAILED{background-color:#fdd8d8;color:#611919}.action-state-pill__BLOCK{background-color:#f88b8b;color:#611919}.action-state-pill__CHALLENGE_REQUIRED{background-color:#fef4da;color:#64501d}.action-state-pill__CHALLENGE_SUCCEEDED{background-color:#daf5e7;color:#1c5135}.action-state-pill__REVIEW_REQUIRED{background-color:#d8e5fd;color:#063e5d}.action-state-pill__REVIEW_SUCCEEDED{background-color:#daf5e7;color:#1c5135}.action-state-pill__REVIEW_FAILED{background-color:#fdd8d8;color:#611919}.action-state-pill__ALLOW{background-color:#8fe0b6;color:#1c5135}.w-500{width:500px}.w-400{width:400px}.w-300{width:300px}.rl-timeline{--rl-surface: #fafafa;--rl-border: #e4e4e7;--rl-axis: #a1a1aa;--rl-muted: #71717a;--rl-blocked-band: rgba(245, 158, 11, 0.25);--rl-lane-rail: rgba(113, 113, 122, 0.12);--rl-lane-band: rgba(245, 158, 11, 0.45);--rl-error-fill: #fde2e2;--rl-error-stroke: #e8a0a0;--rl-blocked-fill: #fef3c7;--rl-blocked-stroke: #d9a43a;--rl-success-fill: #dcfce7;--rl-success-stroke: #6cc28a;margin:1.5rem 0}.dark .rl-timeline{--rl-surface: rgba(255, 255, 255, 0.03);--rl-border: rgba(255, 255, 255, 0.1);--rl-axis: #71717a;--rl-muted: #a1a1aa;--rl-blocked-band: rgba(251, 191, 36, 0.25);--rl-lane-rail: rgba(255, 255, 255, 0.06);--rl-lane-band: rgba(251, 191, 36, 0.4);--rl-error-fill: rgba(248, 113, 113, 0.25);--rl-error-stroke: #f87171;--rl-blocked-fill: rgba(251, 191, 36, 0.25);--rl-blocked-stroke: #fbbf24;--rl-success-fill: rgba(74, 222, 128, 0.25);--rl-success-stroke: #4ade80}.rl-timeline__scroll{overflow-x:auto;border:1px solid var(--rl-border);border-radius:1rem;background-color:var(--rl-surface);padding:1.25rem 0 0.75rem}.rl-timeline__track{position:relative;min-width:30rem;height:10rem;margin:0 2.5rem}.rl-timeline__axis{position:absolute;top:4rem;left:0;right:0;height:1px;background-color:var(--rl-axis)}.rl-timeline__axis::after{content:\"\";position:absolute;right:-6px;top:-4px;border-top:4.5px solid transparent;border-bottom:4.5px solid transparent;border-left:7px solid var(--rl-axis)}.rl-timeline__blocked{position:absolute;top:calc(4rem - 3px);height:7px;border-radius:9999px;background-color:var(--rl-blocked-band)}.rl-timeline__blocked-label{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:0.75rem;color:var(--rl-muted);white-space:nowrap}.rl-timeline__event{position:absolute;top:4rem;width:0;height:0}.rl-timeline__dot{position:absolute;left:-7px;top:-7px;width:14px;height:14px;border-radius:9999px;border:1.5px solid var(--rl-success-stroke);background-color:var(--rl-success-fill)}.rl-timeline__dot--error{border-color:var(--rl-error-stroke);background-color:var(--rl-error-fill)}.rl-timeline__dot--blocked{border-color:var(--rl-blocked-stroke);background-color:var(--rl-blocked-fill)}.rl-timeline__label{position:absolute;left:0;display:flex;flex-direction:column;align-items:center;gap:0.125rem;transform:translateX(-50%);white-space:nowrap}.rl-timeline__event--above .rl-timeline__label{bottom:16px}.rl-timeline__event--below .rl-timeline__label{top:16px}.rl-timeline__title{font-size:0.8125rem;font-weight:500;line-height:1.2}.rl-timeline__time,.rl-timeline__end,.rl-timeline__window-label,.rl-timeline__caption{font-size:0.75rem;line-height:1.2;color:var(--rl-muted);font-variant-numeric:tabular-nums}.rl-timeline__end{position:absolute;top:calc(4rem + 10px)}.rl-timeline__end--start{left:0}.rl-timeline__end--end{right:0}.rl-timeline__window{position:absolute;top:calc(4rem + 4.25rem);height:8px;border:1px solid var(--rl-axis);border-top:none}.rl-timeline__window-label{position:absolute;top:14px;left:50%;transform:translateX(-50%);white-space:nowrap}.rl-timeline__lane{position:absolute;left:0;right:0}.rl-timeline__lane-label{font-size:0.75rem;line-height:1.2;color:var(--rl-muted);white-space:nowrap}.rl-timeline__lane-rail{position:relative;margin-top:0.375rem;height:7px;border-radius:9999px;background-color:var(--rl-lane-rail)}.rl-timeline__lane-band{position:absolute;top:0;bottom:0;border-radius:9999px;background-color:var(--rl-lane-band)}.rl-timeline__caption{margin-top:0.5rem;text-align:center;font-size:0.875rem}.rl-groups{--rl-border: #e4e4e7;--rl-ink: #27272a;--rl-muted: #a1a1aa;--rl-note: #71717a;--rl-country-fill: #ffffff;--rl-chip-fill: #ffffff;--rl-tag-fill: rgba(113, 113, 122, 0.08);--rl-tone-0-fill: rgba(139, 123, 255, 0.08);--rl-tone-0-stroke: rgba(139, 123, 255, 0.35);--rl-tone-1-fill: rgba(14, 165, 233, 0.07);--rl-tone-1-stroke: rgba(14, 165, 233, 0.3);margin:1.5rem 0}.dark .rl-groups{--rl-border: rgba(255, 255, 255, 0.1);--rl-ink: #e4e4e7;--rl-muted: #71717a;--rl-note: #a1a1aa;--rl-country-fill: rgba(255, 255, 255, 0.03);--rl-chip-fill: rgba(255, 255, 255, 0.05);--rl-tag-fill: rgba(255, 255, 255, 0.06);--rl-tone-0-fill: rgba(139, 123, 255, 0.12);--rl-tone-0-stroke: rgba(139, 123, 255, 0.4);--rl-tone-1-fill: rgba(56, 189, 248, 0.09);--rl-tone-1-stroke: rgba(56, 189, 248, 0.35)}.rl-groups__country{border:1px solid var(--rl-border);border-radius:1rem;background-color:var(--rl-country-fill);padding:1rem 1.25rem 1.25rem}.rl-groups__header{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;margin-bottom:0.75rem}.rl-groups__title{font-size:0.8125rem;font-weight:600;color:var(--rl-ink)}.rl-groups__mono{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-variant-numeric:tabular-nums}.rl-groups__muted{color:var(--rl-muted);font-weight:400}.rl-groups__tag{border-radius:9999px;padding:0.0625rem 0.5rem;font-size:0.6875rem;font-weight:500;white-space:nowrap;color:var(--rl-note);background-color:var(--rl-tag-fill)}.rl-groups__row{display:flex;flex-wrap:wrap;gap:0.75rem}.rl-groups__group{flex:1 1 13rem;border:1px solid;border-radius:0.625rem;padding:0.75rem}.rl-groups__group .rl-groups__header{margin-bottom:0.625rem}.rl-groups__tone-0{border-color:var(--rl-tone-0-stroke);background-color:var(--rl-tone-0-fill)}.rl-groups__tone-1{border-color:var(--rl-tone-1-stroke);background-color:var(--rl-tone-1-fill)}.rl-groups__numbers{display:flex;flex-direction:column;align-items:flex-start;gap:0.375rem}.rl-groups__chip{border:1px solid var(--rl-border);border-radius:0.375rem;padding:0.1875rem 0.5rem;font-size:0.8125rem;white-space:nowrap;color:var(--rl-ink);background-color:var(--rl-chip-fill)}.rl-groups__caption{margin-top:0.5rem;text-align:center;font-size:0.875rem;color:var(--rl-note)}#hubspot-messages-iframe-container{color-scheme:light}"}]}
{"page":{"pagePath":"authentication-methods/app-verification/atomic","slug":"/authentication-methods/app-verification/atomic","pageMetadata":{"title":"Atomic push approvals","sidebarTitle":"Atomic","description":"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.","href":"/authentication-methods/app-verification/atomic"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Frame,Heading,Mermaid,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://atomic.io`,children:`Atomic`}),` can deliver your `,_jsx(_components.a,{href:`/authentication-methods/app-verification/push`,children:`push verification`}),` challenges. For each challenge, Authsignal starts an Atomic Action Flow. Atomic shows an approval card in your app and can send a push notification. The user taps `,_jsx(_components.strong,{children:`Approve`}),` or `,_jsx(_components.strong,{children:`Deny`}),` on the card, your app responds to the challenge with the Authsignal Mobile SDK, and then completes the card.`]}),`\n`,_jsx(Frame,{caption:`An Atomic approval card in a banking app, styled with the app's own Atomic theme.`,children:_jsx(OptimizedImage,{className:`w-300`,src:`https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approval-card.png?fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=43a062e43dc897d12459c1f465e3bb32`,alt:`Approval card asking the user to approve a $298.92 payment in Dubrovnik, Croatia, with Approve and Deny buttons`,\"data-og-width\":`600`,width:`600`,\"data-og-height\":`862`,height:`862`,\"data-path\":`images/docs/authentication-methods/atomic/approval-card.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approval-card.png?w=280\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=4df9f4358c824ab515211e0204f02e9d 280w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approval-card.png?w=560\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=858b5e3947e0400fda2744761273fc22 560w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approval-card.png?w=840\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=e6f2e56abc5fce5b65aa65ab4be36e50 840w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approval-card.png?w=1100\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=53ff7d67934532145f06f54911cf3aa4 1100w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approval-card.png?w=1650\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=b87b739e0e54dc462bf99e3df8da68de 1650w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approval-card.png?w=2500\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=1ca2fa7b0b052f7170ff6f3a18f0e717 2500w`})}),`\n`,_jsxs(_components.p,{children:[`Atomic handles delivery and UI only. A challenge is approved or denied only when your app calls `,_jsx(_components.code,{children:`updateChallenge`}),`, which signs the response with the device’s push credential, as with every other push provider. Nothing in Atomic can approve a challenge.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Delivery is `,_jsx(_components.strong,{children:`best-effort`}),`, as with `,_jsx(_components.a,{href:`/authentication-methods/app-verification/managed-push`,children:`managed push`}),`. If Authsignal cannot start your Action Flow, the challenge still starts and can be completed from your app. The failure is recorded as a `,_jsx(_components.code,{children:`PUSH_SEND_DOWNSTREAM_FAILED`}),` event on the user’s timeline.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant F as Your web app\n participant AS as Authsignal\n participant AT as Atomic\n participant M as Mobile app\n F->>AS: Start push challenge\n AS->>AT: Start Action Flow\u003cbr/>(variables include challengeId)\n AT->>M: Approval card + push notification\n Note over M: User taps Approve or Deny\n rect rgb(191, 223, 255)\n note right of M: Authsignal Mobile SDK\n M->>AS: updateChallenge (signed by the device)\n end\n M->>AT: Complete the card\n AS-->>F: Challenge approved or denied`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Each push starts one flow invocation, so a retried send cannot create a second card.`}),`\n`,_jsx(_components.li,{children:`A card is a single card instance, so once the user answers it, it clears on every device.`}),`\n`,_jsx(_components.li,{children:`Each card expires with its challenge. If the challenge is resolved without the card, for example from your app’s own screen or because a newer challenge replaces it, Authsignal cancels the card.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`atomic-workbench-setup`,children:`Atomic Workbench setup`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create a stream and stream container for approvals`,children:[_jsxs(_components.p,{children:[`Create a stream for approval cards, for example `,_jsx(_components.strong,{children:`Auth`}),`, and a stream container that shows it. Your app shows this container as the approval sheet. Note the container ID.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Every card also goes into the Atomic `,_jsx(_components.strong,{children:`All cards`}),` stream, which can’t be turned off. Don’t connect `,_jsx(_components.strong,{children:`All cards`}),` to a container in your app. Use streams and containers made for each purpose instead. If your app already shows `,_jsx(_components.strong,{children:`All cards`}),`, filter approval cards out of it, for example with `,_jsx(_components.code,{children:`AACCardListFilter.notEqualTo(AACCardFilterValue.byCardTemplateId(...))`}),`.`]})})]}),_jsxs(Step,{title:`Create the Action Flow`,children:[_jsxs(_components.p,{children:[`Create an Action Flow with an `,_jsx(_components.strong,{children:`API start endpoint`}),` trigger and a `,_jsx(_components.strong,{children:`Send card and push notification`}),` step that targets your approval stream.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Declare the `,_jsx(_components.a,{href:`#flow-variables`,children:`variables`}),` your card uses. Authsignal sends them all as strings.`]}),`\n`,_jsxs(_components.li,{children:[`Leave the card’s `,_jsx(_components.strong,{children:`expiry unset`}),`. Authsignal sets each card to expire with its challenge.`]}),`\n`,_jsx(_components.li,{children:`You can add steps after the card, such as a confirmation card. When Authsignal cancels an approval card, it cancels only the card, not the flow.`}),`\n`,_jsx(_components.li,{children:`Turn off swipe-to-dismiss and snooze, so the user answers the card instead of hiding it.`}),`\n`]}),_jsx(_components.p,{children:`Publish the flow, then note its ID.`}),_jsx(Frame,{caption:`The Send card step targets the Auth stream and leaves expiry off.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/action-flow.png?fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=d9b810a654b71fd9532437249f79dcb3`,alt:`Atomic Workbench Action Flow with an API start endpoint trigger and a Send card and push notification step, whose settings show the Auth stream selected and Expiry turned off`,\"data-og-width\":`1316`,width:`1316`,\"data-og-height\":`915`,height:`915`,\"data-path\":`images/docs/authentication-methods/atomic/action-flow.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/action-flow.png?w=280\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=0a6dbdb013d145f1f1739a2b3461666a 280w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/action-flow.png?w=560\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=49e443cbbba0c845538dce4c0bb6b7c5 560w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/action-flow.png?w=840\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=ada8ca3dde39cc4813b936551755dd4e 840w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/action-flow.png?w=1100\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=03982b94af985f8b68b47c95a6007fdc 1100w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/action-flow.png?w=1650\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=dc56842463929cf46bd11a9efc57b5f3 1650w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/action-flow.png?w=2500\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=f5bd1938c0d99cc0ae0fe6a9913243c9 2500w`})})]}),_jsxs(Step,{title:`Add Approve and Deny buttons`,children:[_jsxs(_components.p,{children:[`Add an `,_jsx(_components.strong,{children:`Approve`}),` link button and a `,_jsx(_components.strong,{children:`Deny`}),` submit button. Set each button’s action to `,_jsx(_components.strong,{children:`Payload`}),`, and name them `,_jsx(_components.code,{children:`approve`}),` and `,_jsx(_components.code,{children:`deny`}),`:`]}),_jsx(CodeBlock,{filename:`Approve (link button)`,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"isAuthButton\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"decision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"approved\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"challengeId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"%{challengeId}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"verificationCodeRequired\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"%{verificationCodeRequired}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Deny (submit button)`,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"isAuthButton\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"decision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"denied\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"challengeId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"%{challengeId}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`isAuthButton`}),` tells your app the button answers the challenge, and `,_jsx(_components.code,{children:`decision`}),` says which way. A link button leaves the card in place, so it stays on screen while your app gets an answer from Authsignal, such as a `,_jsx(_components.a,{href:`#verification-codes`,children:`verification code`}),`. A submit button removes the card as soon as it’s tapped.`]}),_jsx(Frame,{caption:`The Approve link button, named approve, with its action set to Payload.`,children:_jsx(OptimizedImage,{className:`w-400`,src:`https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approve-button.png?fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=a09df93acb68e481c6199da3a44a6df7`,alt:`Atomic Workbench link button settings for Approve, with the Payload action holding the decision, challengeId, isAuthButton and verificationCodeRequired values`,\"data-og-width\":`1036`,width:`1036`,\"data-og-height\":`1156`,height:`1156`,\"data-path\":`images/docs/authentication-methods/atomic/approve-button.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approve-button.png?w=280\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=b52fc442b1c6af54c312dd22ec7d33fe 280w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approve-button.png?w=560\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=15ef8db661781d5ec24700b5e444cc3d 560w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approve-button.png?w=840\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=ff4bb1dfda4373c46e5015f45bc01105 840w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approve-button.png?w=1100\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=300233e1545c6ffea2ceb724ac02a0a5 1100w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approve-button.png?w=1650\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=1dee797ce1fe713d58d380bb2873a4dc 1650w, https://mintcdn.com/authsignal-23/o2xK3YS6oOe4O_NK/images/docs/authentication-methods/atomic/approve-button.png?w=2500\u0026fit=max\u0026auto=format\u0026n=o2xK3YS6oOe4O_NK\u0026q=85\u0026s=cbbfb4e266a809ed1590a2288b7a260d 2500w`})})]}),_jsx(Step,{title:`Create an API client`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Configuration > API > API Keys`}),`, create an API client with permission to start Action Flows and cancel cards. Note the client ID and secret.`]})}),_jsx(Step,{title:`Set up Atomic user identity`,children:_jsxs(_components.p,{children:[`Atomic identifies the user by the `,_jsx(_components.code,{children:`sub`}),` claim of a JWT your app supplies. It must equal the Authsignal `,_jsx(_components.code,{children:`userId`}),`, because Authsignal targets the Action Flow at that user. See `,_jsx(_components.a,{href:`#atomic-user-identity`,children:`Atomic user identity`}),`.`]})}),_jsx(Step,{title:`Configure push notifications`,children:_jsxs(_components.p,{children:[`To also send an OS push notification, add your app’s FCM and APNs credentials under `,_jsx(_components.strong,{children:`Configuration > Notifications`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`portal-setup`,children:`Portal setup`}),`\n`,_jsxs(_components.p,{children:[`Enable `,_jsx(_components.a,{href:`https://portal.authsignal.com/organisations/tenants/authenticators/push`,children:`push verification`}),` for your tenant and choose `,_jsx(_components.strong,{children:`Atomic`}),` as the push notification provider. Then enter:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Where to find it in the Atomic Workbench`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Customer API base URL`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Configuration`}),`, e.g. `,_jsx(_components.code,{children:`https://12-3.customer-api.atomic.io`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Environment ID`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Configuration`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Action Flow ID`})}),_jsx(_components.td,{children:`The flow’s API start endpoint trigger`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`API client ID`}),` and `,_jsx(_components.strong,{children:`secret`})]}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Configuration > API > API Keys`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`OAuth token URL`})}),_jsx(_components.td,{children:`Optional. Leave blank to use the standard Atomic token endpoint.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`On the push verification settings page, select which `,_jsx(_components.a,{href:`/actions-rules/rules/custom-data-points`,children:`custom data points`}),` to pass to your flow. They are sent as `,_jsx(_components.code,{children:`action_\u003cname>`}),` and `,_jsx(_components.code,{children:`user_\u003cname>`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`app-integration`,children:`App integration`}),`\n`,_jsxs(_components.p,{children:[`The examples use React Native with `,_jsx(_components.code,{children:`@atomic.io/react-native-atomic-sdk`}),` and `,_jsx(_components.code,{children:`react-native-authsignal`}),`.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[`On Android, `,_jsx(_components.code,{children:`@atomic.io/react-native-atomic-sdk`}),` 26 needs three changes to a standard React Native app:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`In the root `,_jsx(_components.code,{children:`android/build.gradle`}),`, set `,_jsx(_components.code,{children:`kotlinVersion = \"2.3.21\"`}),` (or later) and add both `,_jsx(_components.code,{children:\"org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}\"}),` and `,_jsx(_components.code,{children:\"org.jetbrains.kotlin:compose-compiler-gradle-plugin:${kotlinVersion}\"}),` to `,_jsx(_components.code,{children:`buildscript.dependencies`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Add the Atomic Maven repository, `,_jsx(_components.code,{children:`https://downloads.atomic.io/android-sdk/maven`}),`, to `,_jsx(_components.code,{children:`allprojects.repositories`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`In `,_jsx(_components.code,{children:`android/app/build.gradle`}),`, set `,_jsx(_components.code,{children:`coreLibraryDesugaringEnabled true`}),` and add `,_jsx(_components.code,{children:`coreLibraryDesugaring(\"com.android.tools:desugar_jdk_libs:2.0.3\")`}),`.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`enroll-the-device`,children:`Enroll the device`}),`\n`,_jsxs(_components.p,{children:[`Add a push credential with the Authsignal Mobile SDK, as in `,_jsx(_components.a,{href:`/authentication-methods/app-verification/push#enrollment`,children:`Push verification`}),`. Pass only the enrollment token. You don’t need a device push token, because Atomic delivers the notification.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// token is the enrollment token from your backend, not a device push token`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addCredential`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`token`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Then start an Atomic session for the same user:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Session`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@atomic.io/react-native-atomic-sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Session`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`login`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`atomicSdkApiBaseUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`atomicSdkApiKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`atomicEnvironmentId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getAtomicToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The SDK base URL is the `,_jsx(_components.strong,{children:`client-api`}),` host (for example `,_jsx(_components.code,{children:`https://12-3.client-api.atomic.io`}),`), not the customer-api host used in the portal. The API key is the SDK key’s `,_jsx(_components.strong,{children:`name`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`show-the-approval-card`,children:`Show the approval card`}),`\n`,_jsx(_components.p,{children:`Your app needs the ID of the challenge it is about to show. Get it from the pending challenge when the app is in the foreground, or from the push notification the user tapped:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`In the foreground`,numberOfLines:`2`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getChallenge`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` challengeId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`challengeId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`From a tapped notification`,numberOfLines:`2`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` notification`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Session`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`notificationFromPushPayload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` challengeId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` notification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`detail`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`challengeId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`Then show the approval container filtered to that challenge, so an old card can never answer a newer challenge:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AACCardFilterValue`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AACCardListFilter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ModalContainer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@atomic.io/react-native-atomic-sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`ModalContainer`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` containerId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`approvalContainerId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` configuration`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`modalContainerPosition:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bottom\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`offset:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` streamFilters`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AACCardListFilter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`equals`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`AACCardFilterValue`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`byStringVariable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"challengeId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`challengeId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` linkButtonTapped`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`onApprove`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` submitButtonTapped`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`onDeny`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ModalContainer`}),` needs `,_jsx(_components.code,{children:`@atomic.io/react-native-atomic-sdk`}),` 26 or later, which requires React Native 0.84 or later. On earlier versions, use a `,_jsx(_components.code,{children:`StreamContainer`}),` with an explicit height.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`approve-or-deny`,children:`Approve or deny`}),`\n`,_jsx(_components.p,{children:`When the user taps a button, read the decision from its payload and respond with the Authsignal Mobile SDK. Once Authsignal has the answer, complete the Approve card with the Atomic SDK. That removes it from every device and records the answer under the button’s name in Atomic analytics.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`42`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`42`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Session`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AACCardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@atomic.io/react-native-atomic-sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` readAuthButton`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`action`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AACCardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // SDK 26 on Android wraps the action as { payload: AACCardAction }.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` cardAction`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`action`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` as`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AACCardAction`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AACCardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }).`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ??`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` action`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`actionPayload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ??`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {}) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` isAuthButton`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` boolean`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` challengeId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` verificationCodeRequired`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`isAuthButton`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`challengeId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !==`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` challengeId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Approve is a link button, so the card stays until the app completes it.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onApprove`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`action`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AACCardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` button`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` readAuthButton`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`action`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateChallenge`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`challengeId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`approved:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Session`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onCardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"submit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cardInstanceId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cardInstanceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` streamContainerId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`streamContainerId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` submitButtonName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"approve\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Deny is a submit button, so Atomic has already removed the card.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onDeny`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`action`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AACCardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`readAuthButton`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`action`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateChallenge`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`challengeId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`approved:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`verification-codes`,children:`Verification codes`}),`\n`,_jsxs(_components.p,{children:[`If push verification uses verification codes, your web app shows a code that the user must enter in the mobile app to approve. Card inputs aren’t passed to your app, so collect the code in your app after the user taps `,_jsx(_components.strong,{children:`Approve`}),`. Because Approve is a link button, the card stays on screen while the user enters it.`]}),`\n`,_jsxs(_components.p,{children:[`Authsignal sends `,_jsx(_components.code,{children:`verificationCodeRequired`}),` (`,_jsx(_components.code,{children:`\"true\"`}),` or `,_jsx(_components.code,{children:`\"false\"`}),`) to your flow, and the Approve payload above passes it to your app. When it’s `,_jsx(_components.code,{children:`\"true\"`}),`, ask for the code before approving. Complete the card only once Authsignal accepts the code. A wrong code returns `,_jsx(_components.code,{children:`invalid_code`}),` without using up the challenge, so the user can try again:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateChallenge`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`challengeId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`approved:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`verificationCode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`errorCode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"invalid_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Ask again. The challenge and the card are both still there.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Session`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onCardAction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"submit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cardInstanceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`streamContainerId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`submitButtonName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"approve\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The verification code itself is never sent to Atomic or to the device.`}),`\n`,_jsx(Heading,{level:`2`,id:`flow-variables`,children:`Flow variables`}),`\n`,_jsx(_components.p,{children:`Authsignal starts your Action Flow with these variables. All values are strings.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`challengeId`})}),_jsxs(_components.td,{children:[`The push challenge ID. Pass it to `,_jsx(_components.code,{children:`updateChallenge`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`actionCode`})}),_jsxs(_components.td,{children:[`The action the user is completing, such as `,_jsx(_components.code,{children:`signIn`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsxs(_components.td,{children:[`The notification title from the action’s `,_jsx(_components.a,{href:`/authentication-methods/app-verification/push`,children:`push messaging template`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`The notification body from the action’s push messaging template.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ipAddress`})}),_jsx(_components.td,{children:`The IP address of the device that started the challenge.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`userAgent`})}),_jsx(_components.td,{children:`The user agent of the device that started the challenge.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timezone`})}),_jsx(_components.td,{children:`The time zone of the device that started the challenge, when known.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`initiatedAt`})}),_jsx(_components.td,{children:`When the challenge started (ISO 8601).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiresAt`})}),_jsx(_components.td,{children:`When the challenge expires (ISO 8601). The card expires at the same time.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`verificationCodeRequired`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\"true\"`}),` when the user must enter a `,_jsx(_components.a,{href:`#verification-codes`,children:`verification code`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`idempotencyKey`})}),_jsx(_components.td,{children:`The idempotency key of the action.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action_\u003cname>`})}),_jsx(_components.td,{children:`Custom action data points you selected in the portal.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_\u003cname>`})}),_jsx(_components.td,{children:`Custom user data points you selected in the portal.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Authsignal also passes `,_jsx(_components.code,{children:`{\"challengeId\": \"\u003cid>\"}`}),` as the push notification’s detail, which the Atomic SDK returns from `,_jsx(_components.code,{children:`notificationFromPushPayload`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`atomic-user-identity`,children:`Atomic user identity`}),`\n`,_jsxs(_components.p,{children:[`Your app supplies Atomic with a JWT through the session delegate. Its `,_jsx(_components.code,{children:`sub`}),` claim must be the Authsignal `,_jsx(_components.code,{children:`userId`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Recommended:`}),` mint the JWT in your backend from your own session, signed with your own key, with `,_jsx(_components.code,{children:`sub`}),` set to the user’s Authsignal `,_jsx(_components.code,{children:`userId`}),`. Configure the SDK API key in the Atomic Workbench to trust your issuer.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Alternatively:`}),` use an Authsignal `,_jsx(_components.a,{href:`/advanced-usage/session-management`,children:`session`}),` access token. It is an RS256 JWT with `,_jsx(_components.code,{children:`sub`}),` set to the `,_jsx(_components.code,{children:`userId`}),`. Configure the SDK API key to trust your tenant’s issuer, `,_jsx(_components.code,{children:`https://\u003capi-host>/v1/client/public/\u003ctenantId>`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No card appears:`}),` check that the Atomic user ID (the JWT `,_jsx(_components.code,{children:`sub`}),`) equals the Authsignal `,_jsx(_components.code,{children:`userId`}),`, and that the Action Flow is published.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Approval cards show up in your app’s main feed:`}),` that container shows the `,_jsx(_components.strong,{children:`All cards`}),` stream. Connect it to a different stream, or filter approval cards out of it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The card disappears before the user enters the code:`}),` Approve is a submit button. Make it a link button, and complete the card from your app.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No push notification:`}),` Atomic needs FCM and APNs credentials for your app. The card still appears in your app without them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A card stays after the challenge expires:`}),` check that the `,_jsx(_components.strong,{children:`Send card`}),` step has no expiry of its own. A flow-level expiry overrides the one Authsignal sets.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Delivery failures:`}),` see the user’s `,_jsx(_components.a,{href:`/knowledge-base/administration/view-user-activity`,children:`event timeline`}),` for `,_jsx(_components.code,{children:`PUSH_SEND_DOWNSTREAM_FAILED`}),` events with the status code and error returned by Atomic.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.a,{href:`/authentication-methods/app-verification/push`,children:`Push verification`})}),` - The full push verification flow, including enrollment and adaptive MFA`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.a,{href:`/authentication-methods/app-verification/managed-push`,children:`Managed push`})}),` - Deliver push notifications through APNs and FCM instead`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Atomic push approvals","sidebarTitle":"Atomic","description":"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.","href":"/authentication-methods/app-verification/atomic"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"Atomic Workbench setup","slug":"atomic-workbench-setup","depth":2,"children":[]},{"title":"Portal setup","slug":"portal-setup","depth":2,"children":[]},{"title":"App integration","slug":"app-integration","depth":2,"children":[{"title":"Enroll the device","slug":"enroll-the-device","depth":3,"children":[]},{"title":"Show the approval card","slug":"show-the-approval-card","depth":3,"children":[]},{"title":"Approve or deny","slug":"approve-or-deny","depth":3,"children":[]},{"title":"Verification codes","slug":"verification-codes","depth":3,"children":[]}]},{"title":"Flow variables","slug":"flow-variables","depth":2,"children":[]},{"title":"Atomic user identity","slug":"atomic-user-identity","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/authsignal-23/eacb9ac8e5ece268/.prettierrc.js"],"subdomain":"authsignal-23","siteName":"Authsignal","title":"Atomic push approvals - Authsignal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T08:29:54.103Z","originalFileLocation":"authentication-methods/app-verification/atomic.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Authsignal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Atomic push approvals - Authsignal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Authsignal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.authsignal.com/authentication-methods/app-verification/atomic\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://authsignal-23.mintlify.site/_mintlify/api/og/v2?division=Push+notification+providers\u0026amp;title=Atomic+push+approvals\u0026amp;description=Deliver+push+verification+challenges+as+Atomic+cards+and+push+notifications%2C+while+approval+stays+signed+on+the+device+by+the+Authsignal+Mobile+SDK.\u0026amp;theme=1131a770ddf70665d3e2d408\u0026amp;signature=b947932cc3c312fb030ef892eb52c6990eebbdf76b1153f2a6f868c02aa64c11\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Atomic push approvals - Authsignal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://authsignal-23.mintlify.site/_mintlify/api/og/v2?division=Push+notification+providers\u0026amp;title=Atomic+push+approvals\u0026amp;description=Deliver+push+verification+challenges+as+Atomic+cards+and+push+notifications%2C+while+approval+stays+signed+on+the+device+by+the+Authsignal+Mobile+SDK.\u0026amp;theme=1131a770ddf70665d3e2d408\u0026amp;signature=b947932cc3c312fb030ef892eb52c6990eebbdf76b1153f2a6f868c02aa64c11\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/authsignal-23/zo2TXHNNAcuLzclo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Authsignal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8b7bff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.authsignal.com/authentication-methods/app-verification/atomic\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/authentication-methods/app-verification/atomic.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.authsignal.com/#organization\",\"name\":\"Authsignal\",\"url\":\"https://docs.authsignal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/authsignal-23/Q2QPBK1EKmJpLovY/logo/light.png?fit=max\u0026auto=format\u0026n=Q2QPBK1EKmJpLovY\u0026q=85\u0026s=8c4bd51abfac23972d75d85678c2f1ed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.authsignal.com#website\",\"name\":\"Authsignal\",\"url\":\"https://docs.authsignal.com\",\"publisher\":{\"@id\":\"https://docs.authsignal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic#webpage\",\"url\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic\",\"name\":\"Atomic push approvals\",\"description\":\"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.\",\"dateModified\":\"2026-12-04T08:29:54.103Z\",\"isPartOf\":{\"@id\":\"https://docs.authsignal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Authentication methods\",\"item\":\"https://docs.authsignal.com/authentication-methods/passkey/web-sdk\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"App verification\",\"item\":\"https://docs.authsignal.com/authentication-methods/app-verification/push\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Push notification providers\",\"item\":\"https://docs.authsignal.com/authentication-methods/app-verification/managed-push\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Atomic push approvals\",\"item\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic#article\",\"headline\":\"Atomic push approvals\",\"name\":\"Atomic push approvals\",\"description\":\"Deliver push verification challenges as Atomic cards and push notifications, while approval stays signed on the device by the Authsignal Mobile SDK.\",\"url\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic\",\"mainEntityOfPage\":{\"@id\":\"https://docs.authsignal.com/authentication-methods/app-verification/atomic#webpage\"},\"dateModified\":\"2026-12-04T08:29:54.103Z\",\"publisher\":{\"@id\":\"https://docs.authsignal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.authsignal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Authsignal\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Authsignal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/authentication-methods/app-verification/atomic.md","siteName":"Authsignal","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Getting started","pages":[{"title":"Welcome to Authsignal Docs","sidebarTitle":"Overview","mode":"center","href":"/getting-started/overview"},{"title":"Set up your Authsignal account","sidebarTitle":"Set up Authsignal","mode":"center","href":"/getting-started/set-up-authsignal"}]},{"group":"Integrations","pages":[{"group":"Auth0","pages":[{"title":"Using Authsignal with Auth0","sidebarTitle":"Getting started","href":"/integrations/auth0"},{"title":"Adding adaptive MFA to Auth0","sidebarTitle":"Adaptive MFA","href":"/integrations/auth0-refine-mfa"},{"title":"Using an internal user ID","sidebarTitle":"Internal user ID","href":"/integrations/auth0-internal-user-id"},{"title":"Auth0 Native Bridge","sidebarTitle":"Native Bridge","href":"/integrations/auth0-native-bridge"}]},{"group":"Amazon Cognito","pages":[{"title":"Integrating Authsignal with Amazon Cognito","sidebarTitle":"Getting started","href":"/integrations/aws-cognito/getting-started"},{"title":"Managing authenticators when integrating Authsignal with Amazon Cognito","sidebarTitle":"Authenticators","href":"/integrations/aws-cognito/authenticators"},{"title":"Using passkeys when integrating Authsignal with Amazon Cognito","sidebarTitle":"Passkeys","href":"/integrations/aws-cognito/passkeys"},{"title":"Adding adaptive MFA to your Cognito login flow","sidebarTitle":"Adaptive MFA","href":"/integrations/aws-cognito/rules"},{"title":"Uber app example","href":"/integrations/aws-cognito/example-app"}]},{"title":"Using Authsignal with WSO2 Identity Platform","sidebarTitle":"WSO2 Identity Platform","href":"/integrations/wso2-identity-platform"},{"group":"Azure AD B2C","pages":[{"title":"Using Authsignal for MFA with Microsoft Azure AD B2C","sidebarTitle":"Getting started","href":"/integrations/azure-ad-b2c/azure-ad-b2c-mfa"},{"title":"Passwordless login with Microsoft Azure AD B2C","sidebarTitle":"Passwordless login","href":"/integrations/azure-ad-b2c/azure-ad-b2c-passwordless"},{"title":"Using Passkeys with Microsoft Azure AD B2C","sidebarTitle":"Passkey autofill","href":"/integrations/azure-ad-b2c/azure-ad-b2c-passkey"},{"title":"Let users manage MFA methods with Microsoft Azure AD B2C","sidebarTitle":"Manage MFA methods","href":"/integrations/azure-ad-b2c/azure-ad-b2c-manage-security"},{"title":"Microsoft Azure AD B2C Custom Policy Snippets","sidebarTitle":"Custom policy snippets","href":"/integrations/azure-ad-b2c/azure-ad-b2c-snippets"}]},{"title":"Entra ID (External Authentication Methods - EAM)","sidebarTitle":"Entra ID","href":"/integrations/entra-id-eam"},{"group":"Duende IdentityServer","pages":[{"title":"Adding MFA to Duende IdentityServer","sidebarTitle":"Getting started","href":"/integrations/identityserver/getting-started"},{"title":"Adding passkeys to Duende IdentityServer","sidebarTitle":"Passkeys","href":"/integrations/identityserver/passkeys"}]},{"group":"Keycloak","pages":[{"title":"Adding MFA to your Keycloak login flow","sidebarTitle":"Getting started","href":"/integrations/keycloak/getting-started"},{"title":"Using Keycloak groups and roles in authentication rules","sidebarTitle":"Groups and roles","href":"/integrations/keycloak/keycloak-groups-roles"},{"title":"Federated Login with MFA","sidebarTitle":"Federated Login with MFA","href":"/integrations/keycloak/keycloak-federated-sign-in"},{"title":"Adding passkey MFA to your Keycloak login flow","sidebarTitle":"Passkey MFA","href":"/integrations/keycloak/keycloak-passkey-signup-with-prebuilt-UI"},{"title":"Adding passkey autofill to your Keycloak login flow","sidebarTitle":"Passkey autofill","href":"/integrations/keycloak/keycloak-passkey-autofill"}]},{"title":"Ruby on Rails","href":"/integrations/ruby-on-rails"},{"group":"ServiceNow","pages":[{"title":"ServiceNow","sidebarTitle":"Overview","href":"/integrations/service-now/overview"},{"title":"Custom mapping","sidebarTitle":"Custom mapping","href":"/integrations/service-now/table-mapping"}]},{"title":"Getting started with Salesforce","sidebarTitle":"Salesforce","href":"/integrations/salesforce/getting-started"}]},{"group":"Authentication methods","pages":[{"group":"Passkeys","pages":[{"title":"Passkeys using the Web SDK","sidebarTitle":"Web SDK","href":"/authentication-methods/passkey/web-sdk"},{"title":"Passkeys using Mobile SDKs","sidebarTitle":"Mobile SDKs","href":"/authentication-methods/passkey/mobile-sdks"},{"title":"Passkeys using Authsignal's pre-built UI","sidebarTitle":"Pre-built UI","href":"/authentication-methods/passkey/prebuilt-ui"},{"title":"Passkeys best practice for the web","sidebarTitle":"Web best practices","href":"/authentication-methods/passkey/best-practices-web"},{"title":"Passkeys best practice for native mobile apps","sidebarTitle":"Mobile best practices","href":"/authentication-methods/passkey/best-practices-mobile"}]},{"group":"App verification","pages":[{"title":"Push verification","href":"/authentication-methods/app-verification/push"},{"group":"Push notification providers","pages":[{"title":"Configuring push notifications","sidebarTitle":"APNs and FCM","description":"Let Authsignal deliver push notifications for you by connecting your APNs and FCM credentials, instead of running your own webhook.","href":"/authentication-methods/app-verification/managed-push"},{"title":"Atomic push approvals","sidebarTitle":"Atomic","href":"/authentication-methods/app-verification/atomic"}]},{"title":"QR code verification","description":"Enable cross-device authentication by scanning QR codes with mobile apps.","href":"/authentication-methods/app-verification/qr-code"},{"title":"In-app verification","href":"/authentication-methods/app-verification/in-app"},{"title":"Attestation","href":"/authentication-methods/app-verification/attestation"},{"title":"Enrollment lifecycle","href":"/authentication-methods/app-verification/enrollment-lifecycle"}]},{"group":"Email","pages":[{"title":"Email OTP","href":"/authentication-methods/email/otp"},{"title":"Email magic link","href":"/authentication-methods/email/magic-link"}]},{"title":"SMS OTP","sidebarTitle":"SMS","href":"/authentication-methods/sms-otp"},{"title":"WhatsApp OTP","sidebarTitle":"WhatsApp","href":"/authentication-methods/whatsapp-otp"},{"title":"Authenticator app (TOTP)","sidebarTitle":"Authenticator app","href":"/authentication-methods/totp"},{"title":"Biometric auth","href":"/authentication-methods/biometrics"},{"group":"Digital credentials","tag":"New","pages":[{"title":"Digital credentials","sidebarTitle":"Overview","href":"/authentication-methods/digital-credentials/overview"},{"title":"Online verification","href":"/authentication-methods/digital-credentials/online-verification"},{"title":"In-person verification","href":"/authentication-methods/digital-credentials/in-person-verification"}]}]},{"group":"Flows","tag":"New","pages":[{"title":"Flows overview","sidebarTitle":"Overview","href":"/flows/overview"},{"group":"Use cases","pages":[{"title":"Enroll an authentication method","href":"/flows/use-cases/enroll-authentication-method"},{"title":"Multi-step sign-in","href":"/flows/use-cases/multi-step-sign-in"},{"title":"Risk-based sign-in","href":"/flows/use-cases/risk-based-sign-in"},{"title":"Manage methods","href":"/flows/use-cases/manage-methods"}]},{"group":"Nodes","pages":[{"title":"Verification step","href":"/flows/nodes/verification-step"},{"title":"Enrollment step","href":"/flows/nodes/enrollment-step"},{"title":"Rule","href":"/flows/nodes/rule"},{"title":"Method branch","href":"/flows/nodes/method-branch"},{"title":"Complete and Block","href":"/flows/nodes/complete-and-block"}]}]},{"group":"Terminals","tag":"New","pages":[{"title":"Terminals","sidebarTitle":"Overview","href":"/terminals/overview"},{"title":"Locations","href":"/terminals/locations"},{"title":"POS integration guide","href":"/terminals/pos-integration"}]},{"group":"Implementation options","pages":[{"group":"Pre-built UI","pages":[{"title":"Pre-built UI","sidebarTitle":"Overview","href":"/implementation-options/prebuilt-ui/overview"},{"title":"Presentation modes","href":"/implementation-options/prebuilt-ui/presentation-modes"},{"title":"Enrolling authenticators","href":"/implementation-options/prebuilt-ui/enrolling-authenticators"},{"title":"Removing authenticators","href":"/implementation-options/prebuilt-ui/removing-authenticators"},{"group":"Customization","pages":[{"title":"Branding","href":"/implementation-options/prebuilt-ui/custom-branding"},{"title":"Message overrides","href":"/implementation-options/prebuilt-ui/message-overrides"},{"title":"Localization","href":"/implementation-options/prebuilt-ui/localization"},{"title":"Custom domains","href":"/implementation-options/prebuilt-ui/custom-domains"},{"title":"Contextual messaging","href":"/implementation-options/prebuilt-ui/contextual-messaging"}]},{"title":"Opt-in consent checkbox","sidebarTitle":"Opt-in consent","href":"/implementation-options/prebuilt-ui/opt-in-consent"},{"title":"Passkey uplift prompt","href":"/implementation-options/prebuilt-ui/passkey-uplift-prompt"}]},{"group":"Web SDK","pages":[{"title":"Web SDK","sidebarTitle":"Overview","href":"/implementation-options/web-sdk/overview"}]},{"group":"Mobile SDKs","pages":[{"title":"Mobile SDKs","sidebarTitle":"Overview","href":"/implementation-options/mobile-sdks/overview"}]}]},{"group":"Actions \u0026 rules","pages":[{"group":"Actions","pages":[{"sidebarTitle":"Getting started","title":"Getting started with actions","href":"/actions-rules/actions/getting-started"},{"title":"Implementing MFA","sidebarTitle":"Implementing MFA","href":"/actions-rules/actions/implementing-mfa"},{"title":"Passwordless login","sidebarTitle":"Passwordless login","href":"/actions-rules/actions/passwordless-login"},{"title":"Restricting authenticators for an action","sidebarTitle":"Restricting authenticators","href":"/actions-rules/actions/restricting-authenticators"}]},{"group":"Rules","pages":[{"sidebarTitle":"Getting started","title":"Getting started with rules","href":"/actions-rules/rules/getting-started"},{"title":"Adaptive MFA","sidebarTitle":"Adaptive MFA","href":"/actions-rules/rules/adaptive-mfa"},{"title":"Customizing rules with custom data points","sidebarTitle":"Custom data points","href":"/actions-rules/rules/custom-data-points"},{"title":"Custom lists","sidebarTitle":"Custom lists","href":"/actions-rules/rules/custom-lists"},{"title":"Testing rules","sidebarTitle":"Testing rules","href":"/actions-rules/rules/testing-rules"}]}]},{"group":"Users","pages":[{"title":"User management","href":"/users/user-management"},{"title":"User actions","href":"/users/user-actions"}]},{"group":"Advanced usage","pages":[{"title":"Session management","href":"/advanced-usage/session-management"},{"title":"Custom API domains","href":"/advanced-usage/custom-api-domains"},{"title":"Configuration as code with Terraform","sidebarTitle":"Configuration as code","href":"/advanced-usage/configuration-as-code"},{"title":"Programmatically managing authenticators on behalf of users","sidebarTitle":"Programmatic authenticator management","href":"/advanced-usage/programmatic-authenticator-management"},{"title":"Authenticator binding","href":"/advanced-usage/authenticator-binding"}]}]},{"tab":"SDKs","icon":"rectangle-code","pages":[{"title":"SDKs","href":"/sdks/server/overview"}]},{"tab":"API reference","icon":"rectangle-terminal","pages":[{"title":"API reference","href":"/api-reference/overview"}]},{"tab":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/advanced-usage/webhooks/introduction"}]},{"tab":"Knowledge base","icon":"books","pages":[{"title":"Knowledge base","href":"/knowledge-base/overview"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/product-updates"}]}]},"basePath":"","title":"Atomic push approvals - Authsignal","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Dt3ifMRv.js","DynamicMarkdown-Dgh_e4rL.js","zoom-image-lightbox-DJOZ-2Ph.js","lightbox-handle-r17bVUz3.js"]}