Member since
09-11-2024
5
Posts
3
Kudos Received
0
Solutions
03-01-2026
02:05 AM
We are working with Apache NiFi version 1.28 and need to validate JWT tokens that arrive as HTTP headers in FlowFiles created by the HandleHttpRequest processor. Once validated, the flow should continue to process the request; if invalid or expired, the request should be rejected. I am aware that scripting options exist (e.g., ExecuteScript with Python/Groovy and JWT libraries), but I would like to know if there is a recommended or supported best practice within NiFi for handling JWT validation in this scenario. Our use case is: Validate the JWT signature and claims against the JWKS endpoint provided by the identity provider. Extract claims for routing/authorization decisions. Reject invalid or expired tokens before further processing. Any guidance on the best way to implement this securely and efficiently would be greatly appreciated. @MattWho
... View more
Labels:
- Labels:
-
Apache NiFi
07-31-2025
11:48 PM
Hi Cloudera Community/@MattWho, I'm currently working with Apache NIFI version 1.28.1 and have successfully configured SAML authentication using an Okta for UI login. I now need to access the NIFI REST API (/nifi-api) programmatically, but I'm facing challenges due to the nature of SAML being browser-based. Specifically, I’d like to know: What are the supported or recommended methods to access the NIFI API when SAML authentication is enabled? Is there a way to retrieve or reuse the JWT token issued after SAML login for API calls? Can NIFI processors or external scripts be used to automate token retrieval or API access in this setup? Are there any best practices or alternative authentication mechanisms (e.g., client certificates or hybrid setups) that can be used alongside SAML for API access? Any guidance or examples would be greatly appreciated! Thanks in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
12-22-2024
10:37 PM
1 Kudo
Hi Team, I am using NIFI 2.0 M4 version-single node , I am trying to merge flow files using defragment merge strategy, Instead of merging all defragment flow files , It is writing first fragment to merged and remaining to failure, Please suggest if i am missing some thing. NIFI Configuration: @MattWho ,please help to suggest. Thanks,
... View more
Labels:
- Labels:
-
Apache NiFi
10-09-2024
09:02 PM
1 Kudo
Hi Team, Currently i am using 5 node cluster of NIFI - 1.27 version. node have 47 Gb RAM My NIFI heap memory level keep on increasing and crashing by reaching 150 hours. Frequency of data is around 100 Gb in a day. I am using variety of processors (Kafka, split and merge , distributed cache processors,Attribute level processors, hive3streaming processor,(select and put)Execute SQL (postgre,SSIS),Kudu processor etc). Please find nifi properties below: # JVM memory settings java.arg.2=-Xms16g java.arg.3=-Xmx20g java.arg.7=-XX:ReservedCodeCacheSize=512m java.arg.9=-XX:+UseCodeCacheFlushing java.arg.23=-XX:ParallelGCThreads=8 java.arg.24=-XX:ConcGCThreads=4 java.arg.25=-XX:G1ReservePercent=10 java.arg.26=-XX:+UseStringDeduplication java.arg.27=-XX:InitiatingHeapOccupancyPercent=25 java.arg.28=-XX:MaxGCPauseMillis=200 java.arg.40=-XX:SurvivorRatio=8 java.arg.41=-XX:NewRatio=3 java.arg.42=-Xmn6g java.arg.13=-XX:+UseG1GC nifi.content.repository.archive.max.retention.period=7 hours nifi.content.repository.archive.max.usage.percentage=50% nifi.provenance.repository.max.storage.time=30 hours nifi.provenance.repository.max.storage.size=10 GB nifi.provenance.repository.rollover.time=10 mins nifi.provenance.repository.rollover.size=100 MB nifi.provenance.repository.query.threads=2 nifi.provenance.repository.index.threads=2 nifi.queue.swap.threshold=10000 Tagging @SAMSAL @MattWho for quick response Thanks, Krish
... View more
Labels:
- Labels:
-
Apache NiFi
09-11-2024
11:58 PM
1 Kudo
Hi Team, i am using 1.27 NIFI, For QuerySalesforceObject processor i am unable to find proxy configuration service for instance url, We have Proxy configuration service for OAuth2 Access token but not for salesforce url, Please suggest for proxy service enablement for salesforce instance URL as well. Sample screenshot of existing configuration below. Thanks, Krish
... View more
Labels:
- Labels:
-
Apache NiFi