简体   繁体   English

URL 地址从 localhost:3000/home 更改为 localhost:3000/home#_=_

[英]URL address changing from localhost:3000/home to localhost:3000/home#_=_

I configured my project first with passport-google-oauth20 authentication and it was working fine.我首先使用 passport-google-oauth20 身份验证配置了我的项目,它工作正常。 I added the passport-facebook after that and its working fine as well, however, after logging/registering with my FB account my redirecting URI which is supposed to be "http://localhost:3000/home" shows "http://localhost:3000/home# = " instead.之后我添加了passport-facebook,它也可以正常工作,但是,在使用我的FB帐户登录/注册后,我应该是“http://localhost:3000/home”的重定向URI显示“http:// localhost:3000/home# = " 代替。 It isn't showing any errors in the console and also working as it is intended to.它没有在控制台中显示任何错误,并且也按预期工作。 I've got no clue what part of code I'm suppose to share with you guys as the functionality of the project is intact, so please let me know the snippet which may help you to better understand the issue.我不知道我应该与你们分享代码的哪一部分,因为项目的功能是完整的,所以请让我知道可以帮助您更好地理解问题的代码片段。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM