For anyone coming to this forum looking to set up Keycloak to work with FileMaker Server, we have a step by step tutorial series available here and also on our website:
In fact the first four articles are all about setting up a Keycloak server on Ubuntu and would be applicable to anyone.