Skip to content

webauthn / passkey support. fixes #188 - #424

Open
BotoX wants to merge 6 commits into
cnieg:mainfrom
BotoX:main
Open

webauthn / passkey support. fixes #188#424
BotoX wants to merge 6 commits into
cnieg:mainfrom
BotoX:main

Conversation

@BotoX

@BotoX BotoX commented Feb 18, 2026

Copy link
Copy Markdown

Properly initialize the extended UsernamePasswordForm with super() and move away from singleton pattern.

This way passkeys work for me.

@arnou
arnou self-requested a review April 13, 2026 11:52

@arnou arnou 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.

Hello, thank you for this feature. Would it be possible to document how to implement it in the README? (That would also help me with the PR validation 😉)

@BotoX

BotoX commented Apr 13, 2026

Copy link
Copy Markdown
Author

Hi, you're welcome! We (University of Graz) plan on rolling out passkeys very soon for all of our users.
And have already been using your plugin to allow signing in with a 3rd party email address for external users that require a minimal account on our keycloak.

This pull request just makes this plugin behave the same (in regard to passkeys) as the original Username Password Form Authenticator that ships with Keycloak.
Basically follow the official keycloak docs to get passkeys working:
https://www.keycloak.org/2025/09/passkeys-support-26-4
And it shouldn't matter if you use the Keycloak Username Password Form Authenticator or this Attribute authenticator.
You will have passkey/webauthn support in the browser login flow.

Do you want me to elaborate further / add anything to the README?

Or well here, basically I created a brand new realm and then Enabled Passkeys in
Authentication -> Policies -> WebAuthn Passwordless Policy
image

And voila you have a Sign in with Passkey button:
image

If you want to use this plugin, make a copy of the browser flow and substitute the regular Username Password Form Authenticator in the copied flow:

image

@arnou arnou self-assigned this Apr 14, 2026
add username form authenticator
@pull-request-size pull-request-size Bot added size/L and removed size/S labels May 25, 2026
use new password once authenticater afterwards
@pull-request-size pull-request-size Bot added size/XL and removed size/L labels Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants