-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support PublicKeyCredentialHints in PublicKeyCredentialCreationOptions #371
Comments
Indeed, thanks for the poke. Note that since the |
Good point about the client-side addition. Though, I quite like the approach of having all the registration parameters come directly from the server and for my case, I think adding additional client-side complexity is not justified for "just" those hints, where an additional config in the server code would be reasonable. Would you appreciate getting a PR for this? I might have some time to do that. I'm assuming that creating a |
Sure, you're welcome to contribute! And yes, this will be very analogous to the ...Hm, on second thought I'm not actually sure we should restrict the type of that list to a I think the best would be a bit of both: define the property as |
See also: (The discussion here is what alerted me to that issue in the spec) |
Yeah, the odd plural form stuck out to me too when I started to implement the PR yesterday 👍 I also agree with your |
Yep, I agree - empty list and undefined are equivalent in the spec, so let's make it non-nullable and default empty. |
I have a really hard time working on this, for some reason my IntelliJ IDEA can't handle this project very well. Having it open uses a lot of CPU, and once open I can't even gracefully close IntelliJ, it needs a SIGKILL to stop. Do you have any tips for the development setup? |
That's strange, I've been using IDEA without issues. Indexing the project can sometimes take upwards of a few minutes, but I don't think I've had IDEA unresponsive. Have you tried clearing the cache? You might also try running |
Oops sorry, I wanted to report back but forgot. I eventually fixed my IDE issues with a combination of updates and the "Repair IDE" feature. I'm getting more busy at work which is why I didn't come around to submit a PR yet. Thanks for opening the PR from your side, I'll take a look and comment if there's anything I want to add. |
This would be a good, and more nuanced alternative to the
authenticatorAttachment
parameter. Also see this discussion on Mastodon.The text was updated successfully, but these errors were encountered: