Skip to content
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

docs(sdk): identifier is actually required #2593

Merged
merged 1 commit into from
Jul 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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