[BUG]: 422 User doesn't satisfy the two-factor authentication requirements for this organization #2258
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
Expected Behavior
Gracefully handle when a user doesn't satisfy the two-factor authentication requirements for an organization when being created, rather than produce an error.
Actual Behavior
When I encounter a user that doesn't have two-factor enabled, and I attempt to add them to the GitHub organization, I encounter the below error. As far as I can tell, there doesn't appear to be a data source telling me if a user has two-factor authentication enabled on their account prior to trying to add it to the organization.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
No response
Steps to Reproduce
$ terraform apply
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: