[ https://issues.apache.org/jira/browse/NIFI-9322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-9322: ----------------------------------- Status: Patch Available (was: In Progress) > Rest document has non available API documented > ----------------------------------------------- > > Key: NIFI-9322 > URL: https://issues.apache.org/jira/browse/NIFI-9322 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Affects Versions: 1.14.0 > Reporter: Dheeraj Joshi > Assignee: David Handermann > Priority: Minor > Time Spent: 10m > Remaining Estimate: 0h > > Nifi API guide at > [https://nifi.apache.org/docs/nifi-docs/rest-api/index.html] has an API > {code:java} > /access/oidc/token{code} > However this API is missing from the actual code at > {code:java} > OIDCAccessResource.java{code} > Exposed API's are defined as constants in > {code:java} > OIDCEndpoints.java{code} > And the constants are > {code:java} > package org.apache.nifi.web.security.oidc; > public interface OIDCEndpoints { > String OIDC_ACCESS_ROOT = "/access/oidc"; > String LOGIN_REQUEST_RELATIVE = "/request"; > String LOGIN_REQUEST = OIDC_ACCESS_ROOT + LOGIN_REQUEST_RELATIVE; > String LOGIN_CALLBACK_RELATIVE = "/callback"; > String LOGIN_CALLBACK = OIDC_ACCESS_ROOT + LOGIN_CALLBACK_RELATIVE; > String TOKEN_EXCHANGE_RELATIVE = "/exchange"; > String TOKEN_EXCHANGE = OIDC_ACCESS_ROOT + TOKEN_EXCHANGE_RELATIVE; > String LOGOUT_REQUEST_RELATIVE = "/logout"; > String LOGOUT_REQUEST = OIDC_ACCESS_ROOT + LOGOUT_REQUEST_RELATIVE; > String LOGOUT_CALLBACK_RELATIVE = "/logoutCallback"; > String LOGOUT_CALLBACK = OIDC_ACCESS_ROOT + LOGOUT_CALLBACK_RELATIVE; > } > {code} > We were trying to execute the API > {code:java} > /access/oidc/token{code} > to no avail only to realize no such API is exposed. -- This message was sent by Atlassian Jira (v8.3.4#803005)