-
Notifications
You must be signed in to change notification settings - Fork 320
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
OKTA-719439 Support HTTPS loopback server call #3605
Conversation
playground/mocks/data/idp/idx/identify-with-device-probing-https-loopback.json
Show resolved
Hide resolved
'authenticator-verification-select-authenticator', | ||
] | ||
}; | ||
|
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.
Can you explain the purpose of windowAuthnHttpsLoopback
variable? I don't see it used in any test file.
.respond((req, res) => { | ||
res.statusCode = '200'; | ||
res.headers['content-type'] = 'application/json'; | ||
if (failureCount === 2) { |
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.
What does failureCount
refer to? 500 error while probing?
await t.expect(loopbackSuccessLogger.count( | ||
record => record.response.statusCode === 500 && | ||
record.request.url.match(/randomorgid.authenticatorlocaldev.com:6513\/probe/) | ||
)).eql(1); |
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.
NIT: I think L425-436 can be simplified to use:
/randomorgid.authenticatorlocaldev.com:(2000|6512|6513)\/probe/
NOTE: PR pending for SIW G3 parity |
already merged in another PR #3650 |
Description:
httpsDomain
in theauthenticatorChalelnge
object for Loopback server bindingdomain
field will store the local host domainPR Checklist
Issue:
Reviewers:
@vakaevich-okta @SohamKolhatkar-okta @shuowu @lesterchoi-okta
Screenshot/Video:
Downstream Monolith Build: