Skip to content

Add API support for Passkeys - #1327

Merged
jan-tennert merged 5 commits into
masterfrom
passkeys
Jun 23, 2026
Merged

Add API support for Passkeys#1327
jan-tennert merged 5 commits into
masterfrom
passkeys

Conversation

@jan-tennert

@jan-tennert jan-tennert commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

What kind of change does this PR introduce?

Feature (closes #1234)

What is the current behavior?

No passkey support

What is the new behavior?

New passkey support under supabase.auth.passkeys. Syntax:

val response = auth.passkeys.startRegistration()
println(response.options)

val response = auth.passkeys.verifyRegistration(myChallenge, myEncodedCredential)
println(response.friendlyName)

val response = auth.passkeys.startAuthentication { 
    captchaToken = "optionalCaptcha"
}
println(response.options)

val response = auth.passkeys.verifyAuthentication(myChallenge, myEncodedCredential)
println(response.session)

val passkeys = auth.passkeys.list()
println(passkeys)

auth.passkeys.update(myPasskeyId, "Really friendly name")

auth.passkeys.delete(myPasskeyId)

Native support will come once #1291 has been figured out. So for now only the API methods.

@github-actions github-actions Bot added the auth label Jun 15, 2026
@github-actions github-actions Bot added the tests label Jun 22, 2026
@jan-tennert
jan-tennert merged commit 756f022 into master Jun 23, 2026
13 checks passed
@jan-tennert
jan-tennert deleted the passkeys branch June 23, 2026 18:16
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.

[Feature request]: Add Passkey (WebAuthn) Support

2 participants