Hello! I’m trying to implement 2FA with email in Keycloak, but I’ve encountered an issue where Keycloak doesn’t support SMTP with OAuth2. I’ve been reading up on this but haven’t found any workaround. Could anyone provide some guidance or suggestions?
Keycloak doesn’t support SMTP with OAuth2
It doesn’t support it. The only workaround I’m aware of would be to implement your own EmailSenderProvider that does what you want.
Hello! thanks for your answer! yes i implemented a EmailSenderProviderFactory and a EmailSenderProvider to delegete that logic to an API that already works with email and OAuth2.