Marcin Gemra created NIFI-14186:
-----------------------------------
Summary: 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
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
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)