netzbegruenung / keycloak-mfa-plugins

Keycloak plugins for MFA (enforce MFA, SMS authentication step, native app integration)
Apache License 2.0
61 stars 15 forks source link

sms auth: even better html input types #99

Closed alexanderhofstaetter closed 1 month ago

alexanderhofstaetter commented 1 month ago

according to w3c there are several better input type options for the code field then type=tel (type="number" min="0" inputmode="numeric" pattern="[0-9]*")

alexanderhofstaetter commented 1 month ago

On mobile devices this only displays a numeric keyboard, without the phone (tel) specific additions

alexanderhofstaetter commented 1 month ago

Already implemented with: https://github.com/netzbegruenung/keycloak-mfa-plugins/commit/75a01504ac9f11ca89175fa05f1a97548d359b3f