We have the same problem as described in here: This post
We set up our engine using Spring boot that uses keycloak for API authentication. This makes useless the Optimize login beacuse the engine answers with 401 (unauthorized).
Reading the documentation of optimize we’ve seen that is possible to use Basic authentication. Is there any way to use Optimize with Bearer tokens?
Optimize provides a plugin API that allows you to hook into the authentication system to inject your own authentication implementation. So you could implement a plugin that authenticates users using your own identity service, e.g. an LDAP server.
Please refer to the following Optimize plugin documentation. There is also an example implementation available that uses Keycloak to authenticate users accessing Optimize on Github.