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
34.52k stars 3.73k forks source link

[Bug]: Datasource Reconnect Modal: all auth settings are lots for REST APIs when forking an app #32259

Open GreenFlux opened 7 months ago

GreenFlux commented 7 months ago

Is there an existing issue for this?

Description

When forking an app with an authenticated REST API datasource, all configuration values are lost for the authentication section. Encrypted fields should not be copied, but we should still retain the other values, like the type of auth, header prefix, etc.

Steps To Reproduce

  1. Create an app with a REST API query
  2. Click SAVE AS DATASOURCE
  3. Choose an Auth Type, then enter any test values in the encrypted and unencrypted fields
  4. Save datasource
  5. Fork app to a new workspace
  6. Note that reconnect modal appear with API endpoint url retained, but all Authentication settings lost.

Public Sample App

No response

Environment

Production

Severity

Low (Inconsistent UI/UX)

Issue video log

No response

Version

Appsmith v1.19.0-SNAPSHOT

AnaghHegde commented 6 months ago

Potential duplicate of the issue - https://github.com/appsmithorg/appsmith/issues/27729