javascript - 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. 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. 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.
解决方案
This is not a problem itself.
https://github.com/jaredhanson/passport-facebook#why-is-__-appended-to-the-redirect-uri
推荐阅读
- android - 当组的计数超过一个时将推送通知添加到组
- javascript - 如何提交表格?
- sql - 选择中列名和变量的连接别名
- java - 无法从 java 项目加载 DLL C# 的方法
- javascript - 打字稿 typeof 字符串无法按预期工作
- javascript - React - 当用户放大(Ctrl +)时如何在模态表单中制作响应字段?
- node.js - 在无状态操作上等待 Lock()
- reactjs - 使用 useState 为其分配 match.params 值时出现错误太多重新渲染
- elasticsearch - 使用弹性搜索比较两个字段 7
- python - 在 NER 中具有可重复的结果