Asp.Net MVC 5 Owin Twitter Auth throwing 401 Exception

和自甴很熟 提交于 2019-12-03 09:20:32

You need to go into the Twitter Dev App and add a website address. I know it seem silly but this will solve your problem.

  1. https://apps.twitter.com/
  2. Go to the Settings Tab
  3. Set a CallBack URL to any website. Even if it is not real.

This should solve you problem.

I solved my problem the way Patrick described 1 year ago. Today I ran into the same issue again but this time I found the issue was caused because of the date/time setting in my computer. Since the date/time in this computer is usually out-of-sync I had to go to "Change Date and Time settings" -> "Internet Time" tab and enable internet sync.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!