Wednesday, April 28, 2021

Re: Change CodeServer URL

From memory, Facebook will let you test with http://lvh.me

On Wednesday, 28 April 2021 at 4:04:27 am UTC+10 Gordan Krešić wrote:
On 27. 04. 2021. 18:23, Thomas Broyer wrote:
> Why do you need this? http://localhost is already a secure context, enabling
> everything that's otherwise available only through
> HTTPS: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts
> Or are you testing remotely and cannot use http://localhost either?

Nope, testing Facebook Login (among others), which requires redirect URLs
which can't be on localhost (Facebook policy). So I have to create
local.mydomain.com which resolves to 127.0.0.1 via /etc/hosts, but that is
not (secure) localhost anymore, at least according to Chrome.

-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/6ed9674c-314f-4955-addd-4d0ddc577cc2n%40googlegroups.com.

No comments:

Post a Comment