-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add support for multivalued attributes #59
Conversation
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.
Interesting, however potentially breaking. Should be properly tested
Array(hash[node_name]).push(e.content) | ||
else | ||
e.content | ||
end |
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.
This would be better stubbed out in a separate method
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.
@vjt Thanks for the feedback, see the updated changes. And glad to see this project is still active. 🎉
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.
Looks good to me. Thank you!
@tagliala could you help in updating Thank you |
This worked well in our environment (thanks @tagliala!) and it is backwards compatible, thus merging. Thanks! |
Thanks to you both! I noticed that there hasn't been a new release in a while (also brought up in #53). Is this waiting on an owner or a change in ownership? |
Derek @dlindahl has already granted gem ownership to me and other contributors, so we can definitely cut a new release once this is merged |
Please could you publish a new release quickly ? Thanks a lot for this update ! |
Sure, I’ll cut release 2.0.0 today. Thanks for thr heads up.
Marcello
--
// [email protected]
// https://sindro.me/
… On 14 Nov 2020, at 12:48, Julien Gribonvald ***@***.***> wrote:
Please could you publish a new release quickly ?
Thanks a lot for this update !
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@jgribonvald 2.0.0 has been pushed to Ruby Gems. Enjoy and please revert back if something is wrong. Cheers! |
@vjt thanks a lot, I will let you know if something goes wrong. |
Currently we use CAS to return multi-valued attributes like entitlements/roles, which aren't natively supported by this omniauth provider and instead get set to the last value returned. Looking to add optional support for returning these multi-valued attributes as arrays while maintaining backwards compatibility by default.