Azure Logic Apps facebook custom connector is not authenticate

DevJunior20 41 Reputation points

I have followed this open source code to creating custom Facebook connector on azure logic app, the custom Facebook connector has been created successfully now I have one problem when I want to authenticate with facebook I got this error message I have no idea about that for more details I have attached GIF image11636-errorlogin.gif

Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.


Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,983 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 69,991 Reputation points

    Hi @DevJunior20-9506

    I am able to repro the same behavior at my end. Looking into the document it is mentioned

    On Facebook developer dashboard update 'Valid OAuth Redirect URIs' under Products >> Facebook Login >> Settings. You can find the redirect URI on the security page of your custom connector.

    Logging into I don't see the option "Valid OAuth Redirect URIs" under the setting of app. I am reaching out to my team to confirm what would the option that needs to enable or app domain name that needs to add to make this work.


    Hi @DevJunior20-9506

    You can find the Valid OAuth Redirect URIs under the customer connector security option and You add the domain under the "App Domain" in the Facebook developer portal. If you found that there is an issue with the custom connector (scope etc) you can always create the issue here:


    I further found the issue with the apiDefinition.swagger.json file as 'publish_pages' is deprecated from the Facebook end:


    You need to update the apiDefinition.swagger.json as below removing the 'publish_pages' from swagger json file and upload it again.

    "security": [
    "oauth2_auth": [
    "securityDefinitions": {
    "oauth2_auth": {
    "authorizationUrl": "";,
    "flow": "accessCode",
    "scopes": {
    "user_posts": "user_posts"
    "tokenUrl": "";,
    "type": "oauth2"
    "swagger": "2.0",
    "tags": []

    I will file this bug and to remove it from the swagger json file:

    Hope this helps and let me know if you need any assistance.

0 additional answers

Sort by: Most helpful