Skip to content
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

Resolve unable to locate IDP oidc form submit URL error due to response body reuse #539

Conversation

pseidel-kcf
Copy link
Contributor

@pseidel-kcf pseidel-kcf commented Aug 12, 2020

@wolfeidau I believe #538 was merged prematurely. These changes fix #530 for me.

This change resolves the error authenticating to IdP: unable to locate IDP oidc form submit URL caused by multiple reads of a response body if no KMSI response is received. If a KMSI response is detected then the consumed response variable gets replaced by a response with a fresh body and this is not required.

As mentioned on the previous PR I'm not a Go expert so I'm not sure if this is the best approach.

@1davidmichael
Copy link
Contributor

1davidmichael commented Aug 24, 2020

I've confirmed this is broken for me with version 2.27.0 but with this PR applied to master it works same as 2.26.1 did.

@nicolasappdirect
Copy link

Confirming, it's working with 2.26.1 and not 2.27.0, the last version,
Can this fix be merged as soon as possible ?

@1davidmichael
Copy link
Contributor

Any updates on getting this merged in and a new version released? Would really like to see this soon,

@wolfeidau wolfeidau merged commit 757a101 into Versent:master Sep 21, 2020
@pseidel-kcf pseidel-kcf deleted the feature/aad-reset-response-body-for-later-reads branch September 21, 2020 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.26.2 AzureAD broken starting earlier in the week but 2.26.1 works
4 participants