Skip to content

Commit

Permalink
docs(sdk): identifier is actually required (ory#2593)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Jul 16, 2022
1 parent 84182cf commit 4fe0828
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions selfservice/strategy/webauthn/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ func (s *Strategy) handleLoginError(r *http.Request, f *login.Flow, err error) e
//
// swagger:model submitSelfServiceLoginFlowWithWebAuthnMethodBody
type submitSelfServiceLoginFlowWithWebAuthnMethodBody struct {
// Identifier is the email or username of the user trying to log in. This field is
// only required when using WebAuthn for passwordless login. When using WebAuthn
// for multi-factor authentication, it is not needed.
// Identifier is the email or username of the user trying to log in.
//
// required: true
Identifier string `json:"identifier"`

// Method should be set to "webAuthn" when logging in using the WebAuthn strategy.
Expand Down

0 comments on commit 4fe0828

Please sign in to comment.