# Privacy & Security

{% embed url="<https://miro.com/app/board/uXjVLX90SPo=/>" %}
G2P Bridge - Security Architecture
{% endembed %}

## Partner authorization

### **Onboarding a Partner to consume an OpenG2P API**<br>

<figure><img src="/files/FRmUbdubF1ikpDXtlJ2D" alt=""><figcaption><p>Partner Onboarding for OpenG2P API</p></figcaption></figure>

### **API call by Partner**

<figure><img src="/files/aEZzADWidosHvmPPe7dr" alt=""><figcaption><p>OpenG2P API call from Partner Organization / Partner System</p></figcaption></figure>

### **JWT Schematic**

<figure><img src="/files/ui7coJLcYvCbV6aG7A2s" alt=""><figcaption><p>OpenG2P - JWT Schematic</p></figcaption></figure>

### **Validation of JWT using MOSIP Key Manager**

<figure><img src="/files/2emdz3QO2Pp1j9KhoL9v" alt=""><figcaption><p>OpenG2P - Validation of JWT in MOSIP Key Manager</p></figcaption></figure>


---

# 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://docs.openg2p.org/products/g2p-bridge/features/privacy-and-security.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.
