Skip to content

Commit ea9576b

Browse files
fix: include MFA and sign-in options in CUA SSO-only step response
1 parent d46c711 commit ea9576b

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 112
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-930823e8b25b4644b74098ad5479840f64a329321aa236460f8a9562ae9051bf.yml
3-
openapi_spec_hash: 9f868e67df8fd2fec8d8fc3eb5ba0b26
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-57bfd737f612a4f16965ef7eb85f709752f616a3941c451736a9ad76e4a1135f.yml
3+
openapi_spec_hash: 61d13a607970deefff0cbfe6b77ae6e8
44
config_hash: 08d55086449943a8fec212b870061a3f

src/kernel/types/auth/connection_follow_response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ class ManagedAuthStateEventDiscoveredField(BaseModel):
3434
type: Literal["text", "email", "password", "tel", "number", "url", "code", "totp"]
3535
"""Field type"""
3636

37+
hint: Optional[str] = None
38+
"""
39+
Contextual help text near the field that tells the user what to enter (e.g.,
40+
"Enter the phone ending in (**_) _**-\\**\\**92")
41+
"""
42+
3743
linked_mfa_type: Optional[Literal["sms", "call", "email", "totp", "push", "password"]] = None
3844
"""
3945
If this field is associated with an MFA option, the type of that option (e.g.,

src/kernel/types/auth/managed_auth.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ class DiscoveredField(BaseModel):
4646
type: Literal["text", "email", "password", "tel", "number", "url", "code", "totp"]
4747
"""Field type"""
4848

49+
hint: Optional[str] = None
50+
"""
51+
Contextual help text near the field that tells the user what to enter (e.g.,
52+
"Enter the phone ending in (**_) _**-\\**\\**92")
53+
"""
54+
4955
linked_mfa_type: Optional[Literal["sms", "call", "email", "totp", "push", "password"]] = None
5056
"""
5157
If this field is associated with an MFA option, the type of that option (e.g.,

0 commit comments

Comments
 (0)