Skip to content

Passkeys - Illegal invocation with 1Password #62916

@maartenba

Description

@maartenba

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When using passkey support in .NET 10 with 1Password, adding a new passkey credential results in an error "Illegal invocation".

Some password managers do not implement PublicKeyCredential.prototype.toJSON correctly, which is required for JSON.stringify() to work when serializing a passkey credential - e.g. https://www.1password.community/discussions/1password/typeerror-illegal-invocation-in-chrome-browser/47399

Steps To Reproduce

In the .NET 10 Blazor (with Individual auth) template, create a new passkey credential using a password manager like 1Password and its browser extension (in Chrome).

.NET Version

10

Anything else?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-identityIncludes: Identity and providers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions