Hi Andrew,
Let's say that we register
https://testpc.ourintranet.com/oauth/ as
the redirect uri and change the hosts file on all workstations and
development servers to resolve this address to 127.0.0.1. In this
case, you can only use the OAuth feature on the site running on your
own workstation and can't test it on other computers, because the
redirection would always resolve to the localhost. We also have quite
a few development servers which run different branches of the site.
Testers would need to change their hosts file every time they want to
check a different server, let alone if they want to check something on
a site running on a dev workstation.
Another example is if I want to show stuff running on my PC to a
remote sales guy. I should ask him to edit his hosts file, etc.
So while this sounds reasonable for a small dev team, it does not
really work out in a larger environment. FB allows you to specify a
domain, that would be the perfect solution for us. I don't see any
security problems with that.
John
On Mar 18, 5:26 pm, Andrew Wansley <
aw...@google.com> wrote:
> Hey John,
>
> Could you shed a bit more light on why localhost/ redirect_uris don't work
> for you guys?
>
> Andrew
>