Skip to content

Correct AuthenticatorAssertionRawResponse.Id type #513

Open
@Regenhardt

Description

@Regenhardt

The AuthenticatorAssertionRawResponse class has two byte[] members Id and RawId. Both used, although RawId is just checked for existence and in tests.

As per MDN Id is literally the base64url encoded value of RawId, I think Id should rather be a string and not base64url-decoded when received, but kept as string. The places currently using the Id property should use RawId instead.

I just debugged into an assertion, and Id and RawId do indeed have the exact same value in the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions