Custom App Request Oauth

Upgrading to platform version 2.3, if we use access-token in Authorization, how can I override the isOAuth: false?

For example my config/requests.json

    "customerInfoRequest": {
        "schema": {
            "method": "GET",
            "host": "***",
            "path": "/api/custom/path",
            "headers": {
                "Authorization": "access-token=<%= iparams.api-key %>;uid=<%= iparams.adminEmail %>",
                "Content-Type": "application/json"
            }
        },
        "options": {
            "isOAuth": false
          }
    }
}

However in network requests, I see that despite setting isOAuth: false it is overridden to true

Hey @vvtrying,

Welcome to the Freshworks Developer Community! :tada:
I noticed that in the requests.json you have an Authorization header with access-token with the value from iparams, In this scenario you need not specify isOAuth the value is by default false.

But do you see any authorization errors when this request template is invoked from the app?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.