Specify multiple redirect URIs for facebook OAuth2

前端 未结 2 580
南旧
南旧 2020-12-16 03:06

My web application is deployed to a production site, but I also need to perform local development. Besides, I have a couple of test servers where I perform different testing

相关标签:
2条回答
  • 2020-12-16 03:48

    You will have to instead create different application for different Use Cases as per your requirement. This is one strange limitation that you will have to deal with.

    Although unrelated but Heroku's (which is partner Cloud service provider) Getting Started Guide for Facebook suggests the same work through for working locally with the application along with development.

    0 讨论(0)
  • 2020-12-16 04:05

    I'm not sure when they added this, but I just discovered a "Valid OAuth redirect URIs" field in the "Advanced" settings of my Facebook app. I just put http://localhost in there and it appears to allow redirect to any URI on my localhost. No more duplicate apps!

    0 讨论(0)
提交回复
热议问题