This is an automated email from the ASF dual-hosted git repository.

mcgilman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/master by this push:
     new f619476  NIFI-6038 Remove scope parameter from OIDC TokenRequest
f619476 is described below

commit f61947627eeb707b13af2395da9c8ebc749fe811
Author: Mike Moser <[email protected]>
AuthorDate: Thu Feb 14 14:16:02 2019 -0500

    NIFI-6038 Remove scope parameter from OIDC TokenRequest
    
    This closes #3308
---
 .../org/apache/nifi/web/security/oidc/StandardOidcIdentityProvider.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/oidc/StandardOidcIdentityProvider.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/oidc/StandardOidcIdentityProvider.java
index b35bc07..73d6cdb 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/oidc/StandardOidcIdentityProvider.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/oidc/StandardOidcIdentityProvider.java
@@ -291,7 +291,7 @@ public class StandardOidcIdentityProvider implements 
OidcIdentityProvider {
 
         try {
             // build the token request
-            final TokenRequest request = new 
TokenRequest(oidcProviderMetadata.getTokenEndpointURI(), clientAuthentication, 
authorizationGrant, getScope());
+            final TokenRequest request = new 
TokenRequest(oidcProviderMetadata.getTokenEndpointURI(), clientAuthentication, 
authorizationGrant);
             final HTTPRequest tokenHttpRequest = request.toHTTPRequest();
             tokenHttpRequest.setConnectTimeout(oidcConnectTimeout);
             tokenHttpRequest.setReadTimeout(oidcReadTimeout);

Reply via email to