Eetami commented on code in PR #6782:
URL: https://github.com/apache/nifi/pull/6782#discussion_r1052963088
##########
nifi-nar-bundles/nifi-standard-services/nifi-oauth2-provider-bundle/nifi-oauth2-provider-service/src/main/java/org/apache/nifi/oauth2/StandardOauth2AccessTokenProvider.java:
##########
@@ -69,6 +71,27 @@ public class StandardOauth2AccessTokenProvider extends
AbstractControllerService
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
.build();
+ public static AllowableValue BASIC_AUTHENTICATION = new AllowableValue(
+ "basic",
+ "Basic Authentication",
+ "Send client authentication as HTTP Basic authentication"
+ );
+
+ public static AllowableValue REQUEST_BODY = new AllowableValue(
+ "request_body",
+ "Request Body",
+ "Send client authentication in request body. Note: users should prefer
Basic Authentication unless authorization server does not support it."
Review Comment:
Implemented suggested improvements.
--
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]