Skip to content

Commit b291c95

Browse files
authored
fix: add sms mfa via parameter to spec (#3766)
1 parent 6638c3e commit b291c95

File tree

5 files changed

+35
-0
lines changed

5 files changed

+35
-0
lines changed

internal/client-go/api_frontend.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/httpclient/api_frontend.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

selfservice/flow/login/handler.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,11 @@ type createBrowserLoginFlow struct {
400400
// required: false
401401
// in: query
402402
Organization string `json:"organization"`
403+
404+
// Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.
405+
//
406+
// in: query
407+
Via string `json:"via"`
403408
}
404409

405410
// swagger:route GET /self-service/login/browser frontend createBrowserLoginFlow

spec/api.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5319,6 +5319,14 @@
53195319
"schema": {
53205320
"type": "string"
53215321
}
5322+
},
5323+
{
5324+
"description": "Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.",
5325+
"in": "query",
5326+
"name": "via",
5327+
"schema": {
5328+
"type": "string"
5329+
}
53225330
}
53235331
],
53245332
"responses": {

spec/swagger.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,6 +1669,12 @@
16691669
"description": "An optional organization ID that should be used for logging this user in.\nThis parameter is only effective in the Ory Network.",
16701670
"name": "organization",
16711671
"in": "query"
1672+
},
1673+
{
1674+
"type": "string",
1675+
"description": "Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.",
1676+
"name": "via",
1677+
"in": "query"
16721678
}
16731679
],
16741680
"responses": {

0 commit comments

Comments
 (0)