Settings cookies using Custom UI Resolvers

I am building a custom UI forge app that calls another external API. That external API returns a token to be stored in the browser’s cookie, but since I have a lambda sitting in the middle I have to parse that token from the cookie and set it in the response. But alas custom UI resolvers doesn’t have a response object. Unfortunately from what I’ve seen searching through this community and documentation, there seems to be no way of setting cookies on the client’s browser using the custom UI resolvers for forge. At the moment the resolvers only return the data. Would it be possible to set the cookies in any way and if not is there any plan on supporting this feature? I hope I was able to explain the question clearly enough. Thank you.