How can we support oAuth client in our Camunda Optimize

Hello Team,

I would like to integrate the oAuth client in our Camunda Optimize,
Could you please share any reference for that ?

Thank you

Hello @ggupta011 ,

this should be a good starting point:

There is a possibility to register a request filter that can be used to perform OAuth2 authentication.

I hope this helps

Jonathan

Could you please share any example or reference links to implement “request filter for OAuth2 authentication”

Hello @ggupta011 ,

the sso with keycloak exists by example here:

Jonathan

Hi,

I see this example, here we have oAuth proxy application which is running separately, Can we implement the oAuth application together with Optimize? If yes then how can we implement the client within Optimze?

@jonathan.lukas

Hello @ggupta011 ,

this would be the example then: camunda-optimize-examples/plugins/sso-plugin at master · camunda/camunda-optimize-examples · GitHub

Jonathan

As far i know given link is for SSO, I would like to implement oAuth client in Optimize (within the optimize), so once the user is authenticated from oAuth server, we will set the user information in the header. and then we can login with the help of SSO.

1 Like

Hello @ggupta011 ,

the provided example shows exactly this. If you want to include an out-of-the-box OAuth client, you will probably have to bridge from the extension point to the credentials provider.

Jonathan