File tree Expand file tree Collapse file tree
src/main/java/io/cdap/plugin/http/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -457,12 +457,8 @@ private void validateOAuth2Fields(FailureCollector failureCollector) {
457457 assertIsSetWithFailureCollector (getOauth2ClientAuthentication (),
458458 PROPERTY_OAUTH2_CLIENT_AUTHENTICATION , reasonOauth2GrantType , failureCollector );
459459 }
460- // in case of refresh token grant type, also check 2 additional fields
460+ // in case of refresh token grant type, also check additional fields
461461 if (OAuthGrantType .REFRESH_TOKEN .equals (getOauth2GrantType ())) {
462- if (!containsMacro (PROPERTY_AUTH_URL )) {
463- assertIsSetWithFailureCollector (getAuthUrl (), PROPERTY_AUTH_URL ,
464- reasonOauth2GrantType , failureCollector );
465- }
466462 if (!containsMacro (PROPERTY_REFRESH_TOKEN )) {
467463 assertIsSetWithFailureCollector (getRefreshToken (), PROPERTY_REFRESH_TOKEN ,
468464 reasonOauth2GrantType , failureCollector );
You can’t perform that action at this time.
0 commit comments