Closed dappsar closed 2 weeks ago
Prompt (function): va a tener fijo el token (esto queda en bdd) y con esa llamada al endpoint con access-token. El access-token del promt, queda en secret manager y el backend lee de ahí.
Front lee secret manager y luego llama a backend.
All endpoints must be authenticated to reduce security issues. Since there are two call points: frontend and prompts (Chatizalo functions), it is recommended to have two access tokens. One to be used by the frontend and another for the prompts. These access tokens should be stored in and read from GCP's Secret Manager.
ToDo