I am trying to pass a token (User id) from my angular app to the agent which is integrated in my angular using iframe.
I am trying to send it as the query params to the copilot agent iframe url and collect it as a global variable
TS
const token = "<your_generated_jwt>";
this.iframeUrl = `https://copilotstudio.microsoft.com/embed/your-agent-id?jwt=${token}`;
HTML
<iframe
[src]="iframeUrl">
</iframe>

But i am not able to save the value in the global.jwtToken.,
Is there any other way to get the value from my webapp to agent