# Connexion sans login/mdp depuis une application externe

{% hint style="danger" %}
Si vous souhaitez utiliser ce type de connexion (via Iframe) sous navigateur Chromium (Chrome et dérivés), votre installation Open-Capture doit être sécurisée (HTTPS)
{% endhint %}

Dans certains cas, vous pouvez avoir besoin d'accéder à Open-Capture sans passer par une authentification (de la même manière qu'un SSO). Cela sera possible via la génération d'un token JWT par votre application dans laquelle vous souhaitez intégrer **Open-Capture**.

Pour générer le token, il vous suffit d'utiliser la route correspondante `auth/generateAuthToken` [(documentation accessible ici)](/open-capture/technique/web-services/authentification.md) afin de générer un token d'identification.&#x20;

Il ne vous restera plus qu'à envoyer le token dans l'URL de votre instance **Open-Capture**. Exemple ci-dessous pour accéder directement à la liste des lots du module **Vérifier**.

> ```url
> https://192.168.10.10/edissyum/dist/#/verifier/list/?id=token&token=MY_TOKEN
> ```

{% hint style="warning" %}
Pour plus de sécurité il est recommandé de générer le token coté serveur afin d'éviter d'exposer la clé secrète.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edissyum.gitbook.io/open-capture/technique/connexion-sans-login-mdp-depuis-une-application-externe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
