@Carlo-Lancia You've demonstrated in the other thread that you know how to make a curl call with cookies.
What I mean to say in my last reply is that the IFrame itself needs to pass that cookie to NodeBB so that the user sees the logged-in site.
I don't know how to do that (I'm not an app developer).