LDAP authentication and Indexing #4127
-
Ive just installed tomcat 10 and the latest opengrok. I have configured LDAP authentication via tomcat using form based login. This seems to work fine for users. However, when indexing, it seems to have an issue because the api is also protected by the form based ldap authentication. Is there a way to do the indexing without needing to use the API or webapp? the error i get when running the index (as per opengrok documnetation) is any ideas how i can get this to work? im guessing i will have to allow unauthenticated access to /api then set up token based authorization within opengrok for the indexer and opengrok ldap authorization for users. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to poke a hole in the paths protected by the authentication to allow |
Beta Was this translation helpful? Give feedback.
You need to poke a hole in the paths protected by the authentication to allow
/source/api/v1/
. Assuming the indexer is running on localhost and the-U
is also using localhost in the URI.