Server error configuring SSO login

Hello team,

In our organisation we’re considering using Kobotoolbox to manage forms. We’ve installed it locally (workstation mode, http://kf.kobo.local) to analyse it in more depth. It works well so far, just having issues with configuring SSO login :thinking:

We’ve set up locally an OpenID-Connect client in Keycloak (localhost:8080), and then added the corresponding “Social Application” in Django admin page.

After that, the login page shows the new SSO option, but clicking it returns a 500 server error. Does anyone know what could be the reason?

Thank you very much in advance.

Some demonstration images (including URL):

Just found the solution. The problem was that Keycloak was not available from the kpi docker container. I exposed the service in the same network (as keycloak.local) and everything started working.

1 Like

@gerardvf, thank you for sharing the solution with the entire community! :folded_hands: