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

Add IdP username RegEx filter to okta_idp_oidc #2035

Open
Marek26 opened this issue Jul 4, 2024 · 4 comments
Open

Add IdP username RegEx filter to okta_idp_oidc #2035

Marek26 opened this issue Jul 4, 2024 · 4 comments
Labels
enhancement Asking for new behavior or feature triaged Triaged into internal Jira

Comments

@Marek26
Copy link

Marek26 commented Jul 4, 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 the filter for specific username patterns (Filter below IdP username on UI; policy.subject.filter in the API) can not be maintained via terraform.
Please include this in the terraform resource.

New or Affected Resource(s)

  • okta_idp_oidc

Potential Terraform Configuration

resource "okta_idp_oidc" "example" {
  name                  = "example"
  authorization_url     = "https://idp.example.com/authorize"
  authorization_binding = "HTTP-REDIRECT"
  token_url             = "https://idp.example.com/token"
  token_binding         = "HTTP-POST"
  user_info_url         = "https://idp.example.com/userinfo"
  user_info_binding     = "HTTP-REDIRECT"
  jwks_url              = "https://idp.example.com/keys"
  jwks_binding          = "HTTP-REDIRECT"
  scopes                = ["openid"]
  client_id             = "efg456"
  client_secret         = "efg456"
  issuer_url            = "https://id.example.com"
  username_template     = "idpuser.email"
  subject_filter        = "^@(?i)domain.com$"
  subject_match_type    = "USERNAME"
}

References

@Marek26 Marek26 added the enhancement Asking for new behavior or feature label Jul 4, 2024
@Marek26 Marek26 changed the title Add IdP username RegEx filter to okta_idp_oidc ressource Add IdP username RegEx filter to okta_idp_oidc Jul 4, 2024
@duytiennguyen-okta duytiennguyen-okta added the waiting-response Waiting on collaborator to responde to follow on disucussion label Jul 9, 2024
@duytiennguyen-okta
Copy link
Contributor

@Marek26 Can you show me how to do this in the UI?

@Marek26
Copy link
Author

Marek26 commented Jul 15, 2024

@duytiennguyen-okta:

image

@duytiennguyen-okta duytiennguyen-okta added triaged Triaged into internal Jira and removed waiting-response Waiting on collaborator to responde to follow on disucussion labels Jul 16, 2024
@duytiennguyen-okta
Copy link
Contributor

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

@Marek26
Copy link
Author

Marek26 commented Sep 3, 2024

Any update on this?

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

2 participants