Skip to content

Nifi 2.4.0 - OIDC authentication #389

@jpjoux

Description

@jpjoux

I am using nipyapi==0.22.0
In Nifi, no issue to authenticate by using OIDC

I am able to connect to our Identity Provider
I am retrieving a token and I am looking for a processor group

set_service_auth_token(token=access_token)
pg = nipyapi.canvas.get_process_group(PROCESSING_GROUP_NAME, "name", False)

I have the following error when calling get_process_group :

  File "~/python3.11/site-packages/future/utils/__init__.py", line 406, in raise_from
    exec(execstr, myglobals, mylocals)
  File "<string>", line 1, in <module>
ValueError: {
"cause0":"java.lang.IllegalArgumentException: Identity cannot be null",
"message":"java.lang.IllegalArgumentException: Identity cannot be null",
"url":"/nifi-api/flow/process-groups/root",
"status":"500"
}

What is wrong ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions