POST /auth/webauthn/authenticate/complete

验证Passkey认证响应并返回JWT令牌(无需JWT)

WebAuthn None application/json

请求体

Schema: service-identity/internal/handler/dto.PasskeyAuthenticateCompleteRequest

字段类型必填示例约束描述
credential service-identity/internal/infrastructure/webauthn.AuthenticationResponse 是
email string 否
tenant_id string 否 公开路由无租户 ctx,子租户登录须显式传入

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-identity/internal/handler/dto.DataResponse

字段类型必填示例约束描述
code integer 否
data object 否
message string 否

service-identity/internal/infrastructure/webauthn.AuthenticationResponse

字段类型必填示例约束描述
id string 否
raw_id string 否
response object 否
type string 否
user_id string 否