8000 Use text input instead of numeric for recovery codes by am9zZWY · Pull Request #50829 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Use text input instead of numeric for recovery codes - #50829

Merged
edewit merged 2 commits into
keycloak:mainfrom
am9zZWY:patch-1
Jul 25, 2026
Merged

edewit merged 2 commits into
keycloak:mainfrom
am9zZWY:patch-1

Conversation

@am9zZWY
@am9zZWY am9zZWY commented Jul 13, 2026
Copy link
Copy Markdown
Contributor

Recovery codes are alpha numeric and enforcing numeric input will display a numeric only keyboard on iPhones.

Copilot AI review requested due to automatic review settings July 13, 2026 12:44
@am9zZWY
am9zZWY requested review from a team as code owners July 13, 2026 12:44
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the login recovery-code input field to avoid forcing a numeric-only keyboard on iOS devices, aligning the UI with the fact that recovery codes are alphanumeric.

Changes:

  • Changed the recovery code input’s inputmode from "numeric" to "text" in the base login theme template.

@mabartos
Copy link
Copy Markdown
Member

@am9zZWY Please create an issue (bug) to have this properly tracked + add the "Closes #xx" to the commit message based on our contribution guidelines.

https://github.com/keycloak/keycloak/blob/main/CONTRIBUTING.md#commit-messages-and-issue-linking

@am9zZWY
am9zZWY commented Jul 22, 2026
Copy link
Copy Markdown
Contributor Author

I have created issue #51100

@mabartos
Copy link
Copy Markdown
Member

@am9zZWY Thanks!

For better traceability, based on the contribution guidelines, we need to provide the commit submessage "Closes #51100 "

You can do it like this:

git commit -m "Use text input instead of numeric for recovery codes" -m "Closes #51100" -s

Thanks!

Then, I'm ok with proceeding with this PR!

Copilot AI review requested due to automatic review settings July 23, 2026 15:56
Closes keycloak#51100

Signed-off-by: am9zZWY <46693545+am9zZWY@users.noreply.github.com>
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings July 23, 2026 15:58
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@edewit
edewit enabled auto-merge (squash) July 24, 2026 07:15
@edewit
edewit merged commit 5c1b58e into keycloak:main Jul 25, 2026
145 of 148 checks passed
@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@keycloak-github-bot
8000 Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.forms.BrowserFlowTest#testUserWithOneAdditionalFactorOtpSuccess

Keycloak CI - Base IT (5)

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
...

Report flaky test

@am9zZWY
am9zZWY deleted the patch-1 branch July 25, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

0