Now, Admin API can not use without an access token. This is also the same as “Access Token Creation API(PUT /admin/api/accesstoken/setting)”.
In other words, the first creation of an access token must be done via the administration page?
how to use the Admin API without accessing the administration page ?
What do you want to do??
I would like to know the purpose to do that… need more info…
I would like to set up and run crawler on Fess from other systems.
I hope I can do one of the following…
- get the first token via Fess API
- set the first token to Fess stored data(db?)
Admin API cannot be accessed without a token to avoid any security issues.
I think you have 2 solutions:
- Create access_token.bulk to app/WEB-INF/classes/fess_indices/.fess_config before first Fess startup. Tokens will be inserted from access_token.bulk on startup.
- Access to elasticsearch directly.
Create access_token.bulk to app/WEB-INF/classes/fess_indices/.fess_config before first Fess startup. Tokens will be inserted from access_token.bulk on startup.
thanks, I try it.
sorry, plz tell me how to write access_token.bulk…
OK, thanks for many supports !!