我无法将我的代码推送到我的域,并且一直在我的本地Web服务器127.0.0.1上进行测试。 但我可以避免向OAuth2提供商注册域名,并从我的IP地址发送请求吗?
到目前为止,我已完成所有研究,但我没有看到任何不可能的迹象。 我也没有看到它的明确信息。
谢谢你的帮助!
I can't push my code to my domain and have been testing up until this point on my local web server, 127.0.0.1. But can I avoid registering a domain with the OAuth2 providers, and send requests from my IP address?
So far, I've done all research, but I've seen no indication that is is not possible. I've also seen no explicit information that it is.
Thanks for your help!
最满意答案
您可以注册任何域,包括localhost以进行本地测试。
Oauth服务器本身不会与该域联系。 作为身份验证过程的一部分,它只会将用户重定向回该域,当您使用localhost在本地测试时,该工作正常。
You can register any domain, including localhost for local testing.
The Oauth server will not contact that domain by itself. It will only redirect users back to that domain as part of the authentication process, which works just fine when you test it locally with localhost.
更多推荐
发布评论