Liveview app proxying from another Phoenix app

So this is the mile high view of the problem to solve:

  • “legacy” live view app (a stand alone deployment) does not know how to authenticate user, not will it be easy to add such support
  • a separate Phoenix app does have that knowledge

For various reasons (most notable that this should be accessible via dedicated mobile app) we are trying the proxy approach. Ideally a user would authenticate in 2nd app, which would add user context and proxy the legacy app.

Anyway, has anyone tried this, any pointers? My attempt stopped at Q: how can I proxy live view app? · Issue #247 · tallarium/reverse_proxy_plug · GitHub , currently investigating other avenues. Ideas welcome!

Thank you for your time