1

I am developing an ASP.net web app which uses Facebook authentication. I'm using the MVC ASP.NET App template. When integrating Facebook Login it's working perfectly fine when running on https://localhost but when I deploy the same app to Azure using App Services it's timeing out while being re-directed back to the App from Facebook. Is there anything special what needs to be configured on the Azure side ?

It's very similar to Asp.net on Azure cannot login facebook? Location: /Account/ExternalLoginCallback?error=access_denied and all help provided does not help.

Peter Jaeger
  • 63
  • 1
  • 5
  • Can you please share your network trace? – Abhay Saraf Feb 09 '18 at 07:47
  • _“it's timeing out while being re-directed back to the App from Facebook”_ - that would be the part where your app has to make a connection to Facebook for the first time, making an API call to exchange the code for a token. So I would start by checking whether your app is allowed to make outgoing connections, or gets blocked by firewall etc. – CBroe Feb 09 '18 at 08:16
  • ok so ... tracked it down to a missing SQL Server for the MVC template...tries to connect to a local database. Unbelieveable why this is not being documented in MSFT docs... – Peter Jaeger Feb 10 '18 at 17:31
  • @PeterJaeger Can you tell me how you managed to change the connection on the database. I am having same issue. – NotSoSure Mar 04 '20 at 21:43

0 Answers0