-
Notifications
You must be signed in to change notification settings - Fork 218
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
SSO: Improve Azure AD validation #1390
SSO: Improve Azure AD validation #1390
Conversation
In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically. |
I think all of these validations should go in a CustomizeDiff function. example:
Then, you should have more than one test for various failing validations |
@julienduchesne I did a research on how we can use For that reason I think we should keep the way we do validations now. Please let me know if I'm missing something, I might have misunderstood your suggestion. |
👍 That works. I think the ideal validation scenario would've been to not have a If not, my one comment then is that I'd like all of these validations to have SSO in their name because they are specific to the SSO resource or be grouped in a helper struct ( |
I don't think it's a good idea to change the structure of the sso resource now because some users are already using it. I'll try to group the validators to make the code more clear. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This modifies the validation rules for azuread by ensuring the field
api_url
is empty. There are no changes for the other providers.