-
Notifications
You must be signed in to change notification settings - Fork 56
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
Implement MFA authentication APIs #331
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #331 +/- ##
==========================================
- Coverage 95.09% 94.93% -0.16%
==========================================
Files 46 47 +1
Lines 8984 9081 +97
==========================================
+ Hits 8543 8621 +78
- Misses 336 348 +12
- Partials 105 112 +7 ☔ View full report in Codecov by Sentry. |
break | ||
case params.ClientAssertion != "": | ||
body.Set("client_assertion", params.ClientAssertion) | ||
body.Set("client_assertion_type", params.ClientAssertionType) |
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.
Should we check that params.ClientAssertionType
is not empty? Like e.g.
case params.ClientAssertion != "" && params.ClientAssertionType != "":
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.
Yeah that makes sense, will fix
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.
Added in 716bdad and also took the opportunity to extend addClientAuthenticationToClientAuthStruct
to allow specifying if a client secret/client assertion is required
Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
🔧 Changes
Adds support for the
Challenge
and variousVerify*
APIs supported by the authentication API.This does not add support for using the Authentication APIs as it was determined that the existing support on the management client is sufficient.
📚 References
Close #316
🔬 Testing
📝 Checklist