-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(m365): add onboarding auth method forms #8332
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
base: master
Are you sure you want to change the base?
feat(m365): add onboarding auth method forms #8332
Conversation
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding
Please add an entry to the corresponding ✅ All necessary ✅ All necessary |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8332 +/- ##
==========================================
+ Coverage 88.08% 88.94% +0.86%
==========================================
Files 897 192 -705
Lines 27645 15637 -12008
==========================================
- Hits 24352 13909 -10443
+ Misses 3293 1728 -1565
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
934f51a
to
ad9323a
Compare
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.
Please, review my comments. Also, add the UI/API changelogs and put screenshots of the new changes in the description? Where are the changes of the API? Thanks.
c452838
to
638f44e
Compare
{((searchParams.type === "aws" && searchParams.via === "credentials") || | ||
(searchParams.type === "gcp" && searchParams.via === "credentials") || | ||
(searchParams.type !== "aws" && searchParams.type !== "gcp")) && ( | ||
(searchParams.type === "m365" && searchParams.via === "credentials") || | ||
(searchParams.type === "m365" && |
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.
could you clarify what this is needed for and its purpose, please?
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.
My intention was to add M365 to the group of providers that require a form to select the authentication method before showing the credentials form.
/> | ||
)} | ||
{providerType === "m365" && | ||
searchParamsObj.get("via") !== "service-principal-user" && ( |
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.
we should avoid using this kind of condition (!==
)
Context
Currently we have 2 auth methods (SP and SP+User) in the same form. This PR aims to introduce support for different onboarding flows in
Microsoft 365
provider in separate forms.Description
This PR implements logic to differentiate onboarding flows for M365 provider.
Checklist
API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.