[
https://issues.apache.org/jira/browse/NIFI-12888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830984#comment-17830984
]
ASF subversion and git services commented on NIFI-12888:
--------------------------------------------------------
Commit 92830af2e986dafe243f770bd672e6d969070746 in nifi's branch
refs/heads/main from Tamas Palfy
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=92830af2e9 ]
NIFI-12888 In AbstractEmailProcessor check for expired oauth2 token when
determining whether mail receiver needs to be recreated.
Signed-off-by: Pierre Villard <[email protected]>
This closes #8494.
> OAuth2 token refresh doesn't work in Email processors
> -----------------------------------------------------
>
> Key: NIFI-12888
> URL: https://issues.apache.org/jira/browse/NIFI-12888
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Tamas Palfy
> Assignee: Tamas Palfy
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> ConsumeIMAP and ConsumePOP3 both inherit the AbstractEmailProcessor in which
> the OAuth2 token refresh handling is not handled properly.
> The object that is receiving the emails is created and finalized only once.
> When the token expires, nothing makes to refresh logic to run.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)