External resource with cookies in an IFrame

I have an external url like https://extern.com/api/auth?jwt=kaiwgfserzseruhserihel
I would like to load this in an Iframe but i have to set cookies for the jwtooken and some other settings.
Is there a way to do this in webix and what is the best praxis?

Thanks for help

There is a webix.storage.cookie helper, which can be used to set cookies.

Hello Maksim.

Thank you for your help I will call the page with a ajax request first and bearer token in header then I want to load the response in my iframe. Do you know what is the best praxis with webix?