Skip to content

Email OTP "Force create user" not working despite enabled settings #157

@NikolayShvets

Description

@NikolayShvets

Description
Email OTP authenticator fails to create new users even when "Force create user" is set to true in the authenticator configuration AND "Login with email" is enabled in realm settings. Authentication works for existing users but fails for new email addresses.

Environment
Keycloak version: quay.io/phasetwo/phasetwo-keycloak:latest
Extension: keycloak-magic-link
Authentication flow: Email OTP with Username Form
Realm settings: "Login with email" = ON
Authenticator config: "Force create user" = true

Image Image Image

Please note: I don't have extensive experience with Keycloak and may be missing something obvious in my configuration. If this issue is due to a misconfiguration on my part rather than a bug, I would greatly appreciate guidance on the correct setup. I'm setting up passwordless authentication for a mobile app using Email OTP and want to ensure I'm following best practices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions