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

fix: add sms mfa via parameter to spec #3766

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions internal/client-go/api_frontend.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions internal/httpclient/api_frontend.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions selfservice/flow/login/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,11 @@ type createBrowserLoginFlow struct {
// required: false
// in: query
Organization string `json:"organization"`

// Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.
//
// in: query
Via string `json:"via"`
}

// swagger:route GET /self-service/login/browser frontend createBrowserLoginFlow
Expand Down
8 changes: 8 additions & 0 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -5319,6 +5319,14 @@
"schema": {
"type": "string"
}
},
{
"description": "Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.",
"in": "query",
"name": "via",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand Down
6 changes: 6 additions & 0 deletions spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1669,6 +1669,12 @@
"description": "An optional organization ID that should be used for logging this user in.\nThis parameter is only effective in the Ory Network.",
"name": "organization",
"in": "query"
},
{
"type": "string",
"description": "Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.",
"name": "via",
"in": "query"
}
],
"responses": {
Expand Down
Loading