> For the complete documentation index, see [llms.txt](https://haptixgames.gitbook.io/web-api-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://haptixgames.gitbook.io/web-api-kit/oauth/can-my-redirect-server-be-on-localhost.md).

# Can my redirect server be on localhost?

No it cannot. When you register your application with an OAuth provider, the provider will need to contact your redirect server. Therefore, the redirect server needs to be available to the internet.

See more details about how the OAuth flow works from Unity here: <http://unity3dassets.com/wp-content/uploads/2015/10/haptix_wak_oauth_extension.pdf>
