[
https://issues.apache.org/jira/browse/NIFI-12317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789611#comment-17789611
]
David Handermann commented on NIFI-12317:
-----------------------------------------
Thanks for summarizing this issue [~anmoln4].
Current versions of Apache NiFi support the Authorization Code Flow for OpenID
Connect, which works with interactive browser clients. Support for the Client
Credentials Flow needs to be implemented, which would allow programmatic access
to the REST API using Access Tokens signed by the configured Identity Provider.
I have linked NIFI-5302 which describes the requested feature.
> REST API Rejects Keycloak OIDC Access Tokens with HTTP 401
> ----------------------------------------------------------
>
> Key: NIFI-12317
> URL: https://issues.apache.org/jira/browse/NIFI-12317
> Project: Apache NiFi
> Issue Type: Bug
> Components: Security
> Affects Versions: 1.23.2
> Reporter: Anmol
> Priority: Major
>
> I have integrated Nifi with keycloak and NIfi UI is working fine. But if i am
> hitting nifi-api with keycloak access token , nifi is giving 401 error.
>
> error: Unauthorized error="invalid_token", error_description="An error
> occurred while attempting to decode the Jwt: Signed JWT rejected: Another
> algorithm expected, or no matching key(s) found",
> error_uri="https://tools.ietf.org/html/rfc6750#section-3.1"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)