revertinc / revert

Revert makes it incredibly easy to build integrations with any third party API
https://revert.dev
GNU Affero General Public License v3.0
948 stars 74 forks source link

[ISSUE-REVERT]: closeAfterOAuthFlow should be enable unless its explicitly specify (disable) false in case of FieldMappings exist #576

Closed Nabhag8848 closed 6 months ago

Nabhag8848 commented 6 months ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

Two Cases:

One:

  1. Connect with FieldMappings Config
  2. ignore closeAfterOAuthFlow, that is true
  3. will reproduce follwoing error

Two:

  1. Connect with FieldMappings Config
  2. closeAfterOAuthFlow set to true
  3. it will run fieldMappingsCode and will give errors.

Expected behavior

Screenshots

Breaks