External SAML IdP -- JWT Tokens

Hey, is it possible to connect a external SAML IdP with Keycloak and transform these Tokens into JWT Tokens? We want to use JWT Tokens for our services, but have to use a SAML IdP…Thank you!

I would try to setup Keycloak as Identity broker with SAML connection to your IdP, but use OIDC Keycloak client for auth. Doc: https://www.keycloak.org/docs/latest/server_admin/#_identity_broker