In my project we solved this issue by putting a reverse proxy in front of both the CodeServer running on localhost and our application running on another machine. We are not using facebook authentication but we have our own SAML based auth system
I based that implementation on thomas his devserver project:
https://github.com/tbroyer/gwt-devserver
But I had to implement a few changes to make it fully work since codeserver dictates what path you should use to download the source maps for example. It would be nice if the CodeServer could be instructed to serve files from a different path than the root one. that would make it easier to fully support it.
Kind regards
David
David
On 29 Apr 2021, 08:48 +0200, Gordan Krešić <gordan.kresic@steatoda.com>, wrote:
On 29. 04. 2021. 08:34, Craig Mitchell wrote:
From memory, Facebook will let you test with http://lvh.me
Excellent trick, thanks!
However, here are other things I have to solve, too, like the need to test
other browsers in local LAN that don't support resolutions via /etc/hosts
neither will work with lvh.me (because CodeServer is not on *their*
localhost). Smartphones/tablets are obvious example.
-gkresic.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ee74e6ce-814f-2f5f-8ff1-07b448dc2657%40steatoda.com.
No comments:
Post a Comment