> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/tokenization/implement-tokenization/card-tokenization-request/processing-the-response/approve-with-step-up-authentication/in-app-authentication-with-issuer-backend.md).

# In-app authentication

In-app authentication is an **ID\&V** method where the **End User** authenticates in the **issuer application**.

After authentication, you can activate the digital card in two ways:

{% stepper %}
{% step %}

### Activate using the issuer backend

The **token requestor** passes the `digitalCardId` to the issuer application.

The issuer application calls the **issuer backend**.

The issuer backend activates the digital card using the **D1 API** (see [Resume digital card API](https://docs.payments.thalescloud.io/tokenization/integrate-the-d1-api/d1-api-summary.md)).
{% endstep %}

{% step %}

### Activate using the D1 SDK

Use the **D1 SDK** in the issuer application to activate the digital card directly.

This requires integrating the D1 SDK in the issuer application. For this, please check details at [in-app authentication](https://docs.payments.thalescloud.io/push-provisioning/implement-push-provisioning/implement-view-and-control/in-app-authentication.md) section for the functionality offered in the context of the [Push Provisioning](https://docs.payments.thalescloud.io/push-provisioning/get-started/push-provisioning-overview.md) service.
{% endstep %}
{% endstepper %}

In both cases, the issuer application must be launched by the token requestor and receive a `digitalCardId`.

This app-to-app integration is payment network-specific. Please refer to the guideline [Integrate in-app ID\&V for xPay](https://docs.payments.thalescloud.io/tokenization/integrate-in-app-id-and-v-for-xpay-wallets.md) and coordinate with the **Thales delivery team**.

### In-app authentication flow using the D1 API

<figure><img src="https://2043231064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW6dljaTEEzefPQILRFB7%2Fuploads%2FaHfuSjYKeyLdf2qDjtyu%2FSequence%20Diagram%20%E2%80%93%20In-app%20authentication%20with%20issuer%20backend.svg?alt=media&amp;token=d9e2d0b5-2c77-45de-9ca0-ed78817c2062" alt=""><figcaption><p>In-app authentication flow (issuer backend activation)</p></figcaption></figure>

With the `digitalCardId`, the issuer backend activates the digital card using the D1 API [Resume digital card](https://docs.payments.thalescloud.io/tokenization/integrate-the-d1-api/d1-api-summary.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.payments.thalescloud.io/tokenization/implement-tokenization/card-tokenization-request/processing-the-response/approve-with-step-up-authentication/in-app-authentication-with-issuer-backend.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
