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

Fix okta_app_* unable to import authentication policy #1993

Merged

Conversation

duytiennguyen-okta
Copy link
Contributor

@duytiennguyen-okta duytiennguyen-okta commented May 17, 2024

Close #1942
Close #1742

@@ -40,6 +40,7 @@ other arguments that changed will be applied.`,
"authentication_policy": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have confidence in my knowledge of TF provider schemas and their behaviours

Will setting Computed: true here prevent the user from specifying or updating the authentication policy on a given okta_app_*?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. It will allow the provider to set the authentication_policy to default if it is not specified. I want to deprecate authentication_policy, but it will have to be major version change

@duytiennguyen-okta duytiennguyen-okta force-pushed the OKTA-718924-fix-authentication-policy-okta-app branch from 5d4a9e1 to 1ed37eb Compare May 22, 2024 19:15
Signed-off-by: Tien Nguyen <duytien.nguyen@okta.com>

Signed-off-by: Tien Nguyen <duytien.nguyen@okta.com>
@duytiennguyen-okta duytiennguyen-okta force-pushed the OKTA-718924-fix-authentication-policy-okta-app branch from 1ed37eb to 2c99ad1 Compare May 22, 2024 19:18
Signed-off-by: Tien Nguyen <duytien.nguyen@okta.com>
@duytiennguyen-okta duytiennguyen-okta merged commit 1605c44 into master May 22, 2024
2 checks passed
@duytiennguyen-okta duytiennguyen-okta deleted the OKTA-718924-fix-authentication-policy-okta-app branch June 14, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants