[ 
https://issues.apache.org/jira/browse/NIFI-14186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916734#comment-17916734
 ] 

ASF subversion and git services commented on NIFI-14186:
--------------------------------------------------------

Commit 4fe5f2048f6f9281acbcdcd6f55094cf30f94c9c in nifi's branch 
refs/heads/main from Marcin Gemra
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4fe5f2048f ]

NIFI-14186 Fix Verify feature in StandardOauth2AccessTokenProvider

Signed-off-by: Pierre Villard <[email protected]>

This closes #9663.


> Verify feature in StandardOauth2AccessTokenProvider returns an error
> --------------------------------------------------------------------
>
>                 Key: NIFI-14186
>                 URL: https://issues.apache.org/jira/browse/NIFI-14186
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Marcin Gemra
>            Assignee: Marcin Gemra
>            Priority: Major
>             Fix For: 2.2.0
>
>         Attachments: image-2025-01-22-17-26-32-900.png, 
> image-2025-01-22-17-36-00-239.png, image-2025-01-22-17-38-22-614.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> After configuring the controller service for oAuth before enabling it for the 
> first time, the Verify feature returns an error:
> {code:java}
> Cannot invoke "String.equals(Object)" because "this.grantType" is null. {code}
> !image-2025-01-22-17-36-00-239.png!
> Despite an error during verification, the access token can be acquired 
> without an error after enabling the controller service.
> After enabling and using the controller service, the error still occurs 
> during verification, but it's different:
> !image-2025-01-22-17-38-22-614.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to