Skip to content

Commit

Permalink
fix: add sms mfa via parameter to spec (#3766)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Feb 20, 2024
1 parent 6638c3e commit b291c95
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
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

0 comments on commit b291c95

Please sign in to comment.