You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Hi @SBerda ! Thanks for creating this issue! I've made an investigation and two things came up:
when providing grant_type_whitelist = ["implicit"] at least user_whitelist or group_whitelist should be present, otherwise, Okta API will return this error:
Error: failed to update auth server policy rule: The API returned an error: Api validation failed: conditions.people. Causes:
errorSummary: conditions.people: At least one of ''conditions.people.users.include'' or ''conditions.people.groups.include''
must contain a valid user or group when ''conditions.grantTypes'' contains one or more of [authorization_code, implicit,
password].
there is a bug in the code that leads to this panic. I'll fix that in the new v3.7.2 version.
Community Note
Terraform Version
Terraform v0.12.20
Affected Resource(s)
Panic Output
https://gist.github.com/SBerda/17a7f9d150bc4dda8ac40758eba12598
Expected Behavior
It Should create the okta_auth_server_policy_rule with the client_credential option.
Actual Behavior
Terraform does not create the ressource and crash
Steps to Reproduce
terraform apply
with the code provided earlier.The text was updated successfully, but these errors were encountered: