This example demonstrates how to use NiFi API to command and control NiFi instance in order to facilitate the interaction with Single Sign-On with AAC .
For roles list elaboration it is important to put the content of the file customClaims.js in the section Custom Claim Mapping Function of the NiFi Client App. Make sure to change the value of the path 'components/' according to the needs of the NiFi component including also the customization of the role names corresponding to NiFi roles.
For detailed descriptions regarding NiFi configuration and integration with AAC OAUTH2 provider refer to the documentation site