Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Avoid storing Public Key Credential ID onto UserModel #25

@tnorimat

Description

@tnorimat

It seems not appropriate that I store Public Key Credential ID onto UserModel as its attribute.
It might be better that this ID be not editable on the admin console (might be invisible by some setting...).

On Authentication, I need to retrieve this public key credential ID because it must be set in PublicKeyCredentialRequestOptions.allowedCredentials in navigator.credentials.get() for some types of authenticators (especially, ResidentKey not supported authenticator).

According to Managing multi-factor authentication and Step-up authentication in Keycloak Design proposal for KEYCLOAK-9694, it treats refactored credentials that encompasses accommodating multiple credentials. After realizing it, I will set Public Key Credential Id onto a field of refactored credential which can be retrieved.

At that time before realizing it, Public Key Credential ID is still put onto UserModel.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions