Optimize Login with Bearer Token

Hello,

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?

Hi @alpa ,

Thanks for getting in touch!

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.

Hope this helps!

Best
Johannes

Thank you very much. I’ll try with this SSO plugin.

Regards
Alberto