Skip to content

Commit

Permalink
fix(sdk): add missing captcha group (#4254)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Dec 30, 2024
1 parent 2a4b8c7 commit 241111b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion internal/client-go/model_ui_node.go

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

2 changes: 1 addition & 1 deletion internal/httpclient/model_ui_node.go

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

7 changes: 4 additions & 3 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,7 @@
"$ref": "#/components/schemas/uiNodeAttributes"
},
"group": {
"description": "Group specifies which group (e.g. password authenticator) this node belongs to.\ndefault DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup",
"description": "Group specifies which group (e.g. password authenticator) this node belongs to.\ndefault DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup\ncaptcha CaptchaGroup",
"enum": [
"default",
"password",
Expand All @@ -2243,10 +2243,11 @@
"lookup_secret",
"webauthn",
"passkey",
"identifier_first"
"identifier_first",
"captcha"
],
"type": "string",
"x-go-enum-desc": "default DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup"
"x-go-enum-desc": "default DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup\ncaptcha CaptchaGroup"
},
"messages": {
"$ref": "#/components/schemas/uiTexts"
Expand Down
7 changes: 4 additions & 3 deletions spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5349,7 +5349,7 @@
"$ref": "#/definitions/uiNodeAttributes"
},
"group": {
"description": "Group specifies which group (e.g. password authenticator) this node belongs to.\ndefault DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup",
"description": "Group specifies which group (e.g. password authenticator) this node belongs to.\ndefault DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup\ncaptcha CaptchaGroup",
"type": "string",
"enum": [
"default",
Expand All @@ -5362,9 +5362,10 @@
"lookup_secret",
"webauthn",
"passkey",
"identifier_first"
"identifier_first",
"captcha"
],
"x-go-enum-desc": "default DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup"
"x-go-enum-desc": "default DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup\ncaptcha CaptchaGroup"
},
"messages": {
"$ref": "#/definitions/uiTexts"
Expand Down
1 change: 1 addition & 0 deletions ui/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const (
WebAuthnGroup UiNodeGroup = "webauthn"
PasskeyGroup UiNodeGroup = "passkey"
IdentifierFirstGroup UiNodeGroup = "identifier_first"
CaptchaGroup UiNodeGroup = "captcha" // Available in OEL
)

func (g UiNodeGroup) String() string {
Expand Down

0 comments on commit 241111b

Please sign in to comment.