Using keycloak to connect to synepase/matrix via nextcloud login

Hi there.

I’m using nextcloud 20 on premise with keycloak to authenticate.
But am not able to use it as a authenticate method in synapese/riot, which is installed as app in nextcloud.
Did someone manage to get this working?