Improve OAuth logging

Description

Failures when refreshing OAuth tokens are not properly logged that result in not being able to correctly root cause the issue.

Release Notes

None

Activity

Show:

Masoud Saeida Ardekani October 24, 2023 at 5:59 PM

Also, getOAuthCredential only throws the response code and does not include the reason: https://github.com/cdapio/cdap/blob/develop/cdap-app-templates/cdap-etl/cdap-data-pipeline-base/src/main/java/io/cdap/cdap/datapipeline/service/OAuthHandler.java#L229

 

This also needs to be changed.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Triaged

Yes

Components

Fix versions

Priority

Created October 24, 2023 at 5:54 PM
Updated January 8, 2024 at 9:12 PM
Resolved October 27, 2023 at 4:24 PM