Open himanshu-neema opened 4 years ago
Note related to DBUG_SESSION_BUS_ADDRESS=/dev/null
there's an open issue https://github.com/Versent/saml2aws/issues/441
Based on my review of the code, this could affect the Akamai and Shibboleth providers also, since they do basically the same thing as the Okta provider, when it comes to Duo integration.
Was just about to post a notice that we found something similar in aws-okta. I wrote about it at https://github.com/aws-okta/aws-okta/issues/9
We do have a fix that's been working for us here https://github.com/himanshu-neema/saml2aws/pull/1
@AaronAtDuo If thats an acceptable fix: we can replicate the same for Akamai & Shibboleth
I'm waiting for internal approval to submit the PR upstream.
I'm not the right person to ask, since this is not a Duo-created or supported integration flow. Speaking as a Duo engineer, I strongly suggest figuring out how to accomplish this using a supported, stable API such as our https://duo.com/docs/authapi instead.
As (ex-) maintainer of aws-okta, I'd be all for using the official APIs. Haven't had the time to look into it. Considering there's several independent implementations of okta+duo out there and they all use roughly the same flow (including all these undocumented/unofficial /frame
APIs), I'm led to believe it's not possible or has some drawback I'm not aware of. That, or they all actually derive from some original code base.
Using official APIs is good for long term - might require a major refactor. @nickatsegment has good point if unofficial APIs are used intentionally to make it work?
We saw the DUO reverted the API again today - so for short term made the fix backward compatible: https://github.com/Versent/saml2aws/pull/532/commits/6200cf3db26d7eb5c54e37098e43a0d884b9f292
Issue
Failures observed on release v2.14.0
On successful authentication with Okta & successful approval of Duo push notification,
saml2aws
fails with following error:Failures observed on release v2.26.2
On latest released version, when user approve Duo Push notification
saml2aws
prompts again for Duo Push, and hence goes into infinite loopNote about
DBUG_SESSION_BUS_ADDRESS=/dev/null
: without this env var,saml2aws
appears to be hung.Response from Duo Security support
They rolled out the change yesterday for our account, so this may not be affecting everyone. Following is the screenshot of response:
Desired outcome for this issue: