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

update brand to correctly reflect api #1898

Closed
wants to merge 1 commit into from

Conversation

duytiennguyen-okta
Copy link
Contributor

No description provided.

@mvitt
Copy link

mvitt commented Feb 15, 2024

I believe you would have to remove the "brand_id" attribute from the "okta_email_domain" resource if you add the above cause if not you will re-introduce the cyclical error we saw previously.

Also, having the "brand_id" on the "okta_email_domain" resource will prevent that "okta_email_domain" from being used by multiple brands

@duytiennguyen-okta
Copy link
Contributor Author

duytiennguyen-okta commented Feb 15, 2024

@mvitt Email domain required brand_id to be created. It is the way the API was designed

@mvitt
Copy link

mvitt commented Feb 15, 2024

@duytiennguyen-okta If I would like to use the same custom email domain for all my brands, how would I go about doing that?

Say that I have five brands and I would like to use the same email domain for all of them, it would make sense to have only one "okta_email_domain" that is added to each "okta_brand" instead of have five "okta_email_domain" resources with the same values except for the brand_id. Especially since "okta_email_domain" spits out a new "dns_validation_records" which must be passed to aws route53, etc (This would cause errors in route53, right)

@duytiennguyen-okta
Copy link
Contributor Author

@mvitt you would have to update it through okta_brand. I know it is awkward, but it is the way the API is designed.

@mvitt
Copy link

mvitt commented Feb 19, 2024

@duytiennguyen-okta as Reece points out, there seems to be a conflict between brands and email domain. Is there a way you could pull in the API team to review these two APIs?

@duytiennguyen-okta
Copy link
Contributor Author

Actually this isn't going to work. Close the PR now

@duytiennguyen-okta
Copy link
Contributor Author

@mvitt yeah I will have to do that. cc @jefftaylor-okta

@duytiennguyen-okta duytiennguyen-okta deleted the OKTA-690454-update_okta_brand branch February 26, 2024 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants