PipedreamHQ / PipedreamHQ/pipedream

[BUG] In the Submit an app UI, when working on a Session Auth based app, the request content-type application/x-www-form-urlencoded is broken

Open
#12,753 1 comment 0 reactions 0 assignees View on GitHub
bug tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Describe the bug**
When you try to submit an app with the Submit an app UI, and the app being Session Auth, if you specify `application/x-www-form-urlencoded` as the content-type, it is ignored no matter how you try to override it.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Submit an app UI
2. Enter required meta data in "basic info" tab.
3. Enter custom field required by the app's Session Auth. Eg. client_id and client_secret for an app using the client_credentials grant.
4. Setup the access token request, specify `application/x-www-form-urlencoded` under headers tab or select `application/x-www-form-urlencoded` in the body tab .
5. Hit "Test up until accessToken request"
6. Notice ow the accessToken request is not executed, and no response is shown

**Expected behavior**
The accessToken request should have executed, with an accompanying response.

**Screenshots**
Eg. of accessToken request execution for Kiwify app:
![image](https://github.com/PipedreamHQ/pipedream/assets/101526248/90e8ac8a-5b0f-4963-b7af-53317222b954)

**Desktop (please complete the following information):**
- OS: Windows 11
- Browser Firefox
- Version 127.0.2

**Additional context**
Occured recently when trying to submit [Kiwify ](https://pipedream.com/submit-an-app/kiwify?tab=basic-info)app

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.