appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.96k stars 3.66k forks source link

[Bug]-[2986.6666666666665]:0auth2 cannot add the token parameter dynamically #18112

Open felix-appsmith opened 1 year ago

felix-appsmith commented 1 year ago

Is there an existing issue for this?

Description

A data source created with OAuth 2.0 does not work because the verification token is not passed dynamically to the URL.

It tries to pass the authentication token as a parameter, but it doesn't work because it passes the parameter as access_token when this parameter should be passed as a token, this causes it to fail, this parameter can't be set dynamically, so it should be possible to add parameters dynamically.

You can review a slightly more detailed specification in the original issue of discord: link

Steps To Reproduce

App

  1. Use this app and run api 1.
  2. check the execution logs and observe the url.
  3. Execute Get_All_Features this one does not require auth, so it is executed correctly.

Public Sample App

https://app.appsmith.com/app/esri-rest-playground/featureservice-oauth2-test-6349d87b55cab46bbfae0585/edit

Issue video log

No response

Version

Cloud Appsmith v1.8.7-SNAPSHOT

Front logo Front conversations

Nikhil-Nandagopal commented 1 year ago

@felix-appsmith I'm not able to understand the issue because the app isn't public. Could you share the app?

felix-appsmith commented 1 year ago

@Nikhil-Nandagopal Can you please try to access the app with support@appsmith.com account?

sneha122 commented 1 year ago

6m usage of Hubspot: 5600 Assuming 20 of users face this: 1120

Stats

Stat Values
Reach 1120
Effort (months) 0.75