# Strong authentication (ScaPrompt) · Booki

> BankID (NO) or Passkey (US) mock SCA.

Source: https://booki.dev/docs/sca-prompt

Bank and payments

# Strong authentication

`ScaPrompt`

BankID (NO) or Passkey (US) mock SCA.

The person sees

## Confirm with passkey

Mock SCA step. No live WebAuthn in MVP.

Bridge demo

```
booki_version=$(npm view @booki-aui/react@latest version) &&
ui_sdk_version=$(npm view "@booki-aui/react@$booki_version" peerDependencies.@ui-sdk/core) &&
pnpm add --save-exact "@booki-aui/core@$booki_version" "@booki-aui/react@$booki_version" "@booki-aui/styles@$booki_version" \
  "@ui-sdk/core@$ui_sdk_version" "@ui-sdk/react@$ui_sdk_version"
```

## Try the bridge

Open this page in a browser and run the example in the console with a fresh preview. Read the current ref from the snapshot before acting.

```javascript
const { agent } = window
const entry = agent.snapshot().filter(
  (entry) => !entry.offPage && entry.component === "button" &&
    entry.confirm === "SCA requires a person",
)[0]
const result = await agent.act({
  steps: [{
    ref: entry.ref,
    action: "press",
    args: [],
  }],
})
console.log(result.ok) // false
```

The bridge refuses to start the mock authentication. The person starts it.

Import from `@booki-aui/react`. For Booki's default styling, add `import "@booki-aui/styles"`.
