External IdP + keycloak OTP

Hi all, Is it possible to use external IdP and keycloak based OTP? When I create flow where first level is username+pwd and second level OTP it works ok. But after replacing username+pwd with external idp (saml) it fails. Thanks for answer.

Hi,
Keycloak does not continue executing a login flow when returning from an upstream IdP. When returning from an IdP, the flow is always finished:

A workaround is to define an extra flow containing the OPT authenticator and configuring this extra flow as post-broker-login flow: