Support wildcard subdomains for your Facebook app

Use case:
There is a SAAS based platform and each customer will be having their subdomains. If I want to give the “Facebook Login” feature to all the customers for their subdomains, what settings I need to do in my Facebook App settings so that it will support wild card domains!

Solution:

  • To support wildcard subdomains for your Facebook app, follow these steps:
  • Add your main domain (without wildcard) to the “App Domain” field.
  • Leave the “Valid OAuth redirect URIs” field and don’t add any URL in it and save the settings.