vinitsingare commented on issue #61670:
URL: https://github.com/apache/airflow/issues/61670#issuecomment-3871843540

   From what I can see, the stored connection password is correct and works 
when retrieved via Connection.get_connection_from_secrets(), but when using the 
UI Test button, the masked placeholder value ("***") from the form is being 
sent in the request payload to /api/v2/connections/test.
   
   The backend then treats this placeholder as a real password and attempts 
authentication with it, which naturally fails.
   
   It seems the intended behavior should be that when the incoming password 
value is still the masked placeholder (i.e. the user has not changed the 
password), the test endpoint should ignore that value and instead reuse the 
stored password from the secrets backend. If the user explicitly re-enters a 
password, that value should be used instead.
   
   I’m happy to work on this issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to