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.95k stars 3.66k forks source link

[Bug]: Datasource not authorized text exists even though there is no CTA for Save and Authorize #26597

Open btsgh opened 1 year ago

btsgh commented 1 year ago

Is there an existing issue for this?

Description

When I setup OAuth2.0 with self signed certificate, theDatasource not authorized text remains, even though there is no Save and Authorize button

Steps To Reproduce

  1. Create a new Authenticated API datasource
  2. Choose a self signed cert file to upload, and then choose Authentication type as OAuth2.0
  3. Scroll down to see the Datasource not authorized text still present even though there is no Save and Authorize button

https://github.com/appsmithorg/appsmith/assets/101863839/9e09d3ab-014e-4f8c-98d1-baad22abefd0

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

Cloud

rohan-arthur commented 6 months ago

updating to medium effort as we need to think through some show-hide logic in the form: e.g., should the other auth fields even be shown in this scenario?