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

[oidc] fix reporting to backend when using OIDC [THREESCALE-1080] #779

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

mikz
Copy link
Contributor

@mikz mikz commented Jun 20, 2018

Fixes THREESCALE-1080
Simplified backport of #774 for 3.2 release.

This simpler backport does not rely or passing context object from post_action phase to proxy object, but rather just updates proxy.credentials after they are transformed by oauth:transform_credentials method. #774 relies on not storing the credentials in proxy at all and rather storing them only in the context object.
But for a purpose of a patch release it is better to make minimal changes and reduce risk of unintended changes of behaviour.

@davidor
Copy link
Contributor

davidor commented Jun 21, 2018

@mikz what do you mean by 'simplified' backport?

@mikz
Copy link
Contributor Author

mikz commented Jun 21, 2018

@davidor it does not port the whole post_action refactoring and passing context. It just properly updates 'self.credentials'. I consider this a bit dirty, but simpler approach. But appropriate in this situation of making minimal changes in patch releases.

Will update the PR description.

@mikz mikz merged commit b10609a into 3.2-stable Jun 25, 2018
@mikz mikz deleted the 3.2-oidc-reporting branch June 25, 2018 18:12
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 participants