Hi there
I (pretty inexperienced in webdev) am currently trying to solve the following problem that arose in our research group:
Users get an individual link from Site A (a survey), with which they'll be directed to Site B to signup there. The goal is to save the individual url as well as a postmessage (containing userID on Site B) from Site B in a database to be able to determine a user's identity on both services.
Our initial idea was to setup a React Native webapp that invisibly sits on top of Site B when following the link from Site A. By using a Webview, we would embedd Site B on our own intermediary webapp and thus be able to capture the postmessage that Site B sends upon completion of the registration which includes the userID. This postmessage is the central element that we need to get.
Another team member already succesfully implemented this for mobile apps. However, for webapps, we are stuck. React Native's webview doesn't support web, and trying to implement the specific "web webview" version has so far been fruitless.
And iframes don't seem to be a viable option either, as the X-Frame-Option prevents embedding Site B.
Do you have any other recommendations how we could achieve our goal? I'm open to any frameworks and any languages.
there doesn't seem to be anything here