publicKeyCredentialCreationObjects 应该从服务器传递给客户端吗?

huangapple go评论73阅读模式
英文:

Is the publicKeyCredentialCreationObjects supposed to be passed from the server to the client?

问题

根据上述陈述,这是否意味着我应该在服务器上创建publicKeyCredentialCreationOptions对象,然后将其传递给客户端?

英文:

I was reading about WebAuthn at https://webauthn.guide/ when I came across the sentence below.

    The publicKeyCredentialCreationOptions object contains a number of required and optional fields that a server specifies to create a new credential for a user.

Based on the statement above, does it mean that I should create the publicKeyCredentialCreationOptions object on the server and then pass it to the client?

答案1

得分: 2

是的,其中一些选项将基于政策和配置。请查看 https://passkeys.dev 以获取示例。

英文:

Yes, as some of the options will be based on policy and configuration. Please take a look at https://passkeys.dev for examples.

huangapple
  • 本文由 发表于 2023年8月10日 23:23:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/76877180.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定