Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing smart_card_idp in the Policy Factor Config object for the okta_policy_mfa resource #1951

Open
theDabca opened this issue Apr 2, 2024 · 3 comments
Labels
enhancement Asking for new behavior or feature triaged Triaged into internal Jira

Comments

@theDabca
Copy link

theDabca commented Apr 2, 2024

Community Note

  • 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

Description

Currently finding a large gap in the okta_policy_mfa resource when it comes to enrollment policies which need to include Smart Card IdPs. As smart_card_idp does not exist in the Policy Factor Config object, any new policy created leaves the Smart Card IdP as disabled.

A GET to an enrollment policy which contains the smart_card_idp will contain the status of that factor in the response, however this does not seem configurable via the public API. It would be useful to add this to the API and then to the okta_policy_mfa.

"key": "smart_card_idp",
"enroll": {
    "self": "NOT_ALLOWED"
}

New or Affected Resource(s)

  • okta_policy_mfa resource

Potential Terraform Configuration

adding in smart_card_idp to the okta_policy_mfa resource

smart_card_idp = {
    enroll = "REQUIRED"
}

References

@theDabca theDabca added the enhancement Asking for new behavior or feature label Apr 2, 2024
@duytiennguyen-okta duytiennguyen-okta added the triaged Triaged into internal Jira label Apr 9, 2024
@duytiennguyen-okta
Copy link
Contributor

OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-717449

@theDabca
Copy link
Author

Hello, @duytiennguyen-okta any update on this? Thanks!

@xiaoweiwu12701
Copy link

xiaoweiwu12701 commented Oct 21, 2024

I thought smart_card_idp was not an object available now. It would be ideal to have it.
Someone suggested to use okta_idp_saml to build the smartcard IdP functionalities. I am not sure how it would work. Any pointer is appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Asking for new behavior or feature triaged Triaged into internal Jira
Projects
None yet
Development

No branches or pull requests

3 participants