Skip to content

Commit c1df87b

Browse files
authored
access_group: Fix spelling of Okta (#440)
This struct was copied directly from the documentation[1] cargo-culting the spelling mistake. [1]: https://developers.cloudflare.com/access/setting-up-access/api-examples/#okta-group
1 parent 9e63ac6 commit c1df87b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

access_group.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ type AccessGroupAzure struct {
123123

124124
// AccessGroupOkta is used to configure access based on a Okta group.
125125
type AccessGroupOkta struct {
126-
Otka struct {
126+
Okta struct {
127127
Name string `json:"name"`
128128
IdentityProviderID string `json:"identity_provider_id"`
129-
} `json:"otka"`
129+
} `json:"okta"`
130130
}
131131

132132
// AccessGroupSAML is used to allow SAML users with a specific attribute

0 commit comments

Comments
 (0)