My app using alamofire to send requests to my server which is node js that uses passport to save a cookie of the user thus allowing me to know for each request who is the user.
My problem is that now I have a share extension that are posting an image to the server but without the cookie of the user thus making the server think the user is not logged in.
I'm trying to find a way to solve this problem. Is there an option to tell alamofire to use the cookie of the app when posting via the share extension?