Handle apps with the "MFA_AS_SERVICE" sign-on mode#506
Open
BinoyOza-okta wants to merge 3 commits intomasterfrom
Open
Handle apps with the "MFA_AS_SERVICE" sign-on mode#506BinoyOza-okta wants to merge 3 commits intomasterfrom
BinoyOza-okta wants to merge 3 commits intomasterfrom
Conversation
…ations() operation.
…#504 contains the permanent fix for this issue. Once it's merged will sync it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add MFA_AS_SERVICE SignOn Mode Support
Summary
This PR adds support for the
MFA_AS_SERVICEapplication sign-on mode to the Okta SDK for Python. This new authentication mode is now available as an option when listing and working with applications.Changes Made
Modified Files
okta/models/application_sign_on_mode.pyMFA_AS_SERVICEenum value toApplicationSignOnModeokta/models/application.pyMFA_AS_SERVICEto the discriminator mappingApplicationfor MFA_AS_SERVICE mode# noqa: F811to suppress linting warning for self-referenceopenapi/api.yamlMFA_AS_SERVICEto the ApplicationSignOnMode enumMFA_AS_SERVICEto baseApplicationschemadocs/ApplicationSignOnMode.mdMFA_AS_SERVICETechnical Details
The
MFA_AS_SERVICEsign-on mode maps to the baseApplicationclass (unlike other sign-on modes that have specific subclasses likeOpenIdConnectApplication,SamlApplication, etc.). This is handled through:"MFA_AS_SERVICE": "Application"Testing
list_applications()operationAPI Compatibility
This is a backward-compatible change that adds a new option without modifying existing functionality.