Setting Cookies for External Website from Angular Application

I want to load a external website and need to set cookies for that in order to pass the context. In my flutter application I am opening a web view and setting cookies for that. Is it possible to do the same in a Angular Application. what are the possible ways?

I did try to load the website usign Iframes but seems like it doesn’t allow to open that specific website due to this error Refused to frame ‘https://example.com/’ (for ex) because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘self’.