Rocket.chat: Read Group info from OAuth provider

Created on 2 Oct 2018  路  13Comments  路  Source: RocketChat/Rocket.Chat

Is your feature request related to a problem? Please describe.
Would be great to read group info from OpenID provider

Describe the solution you'd like
Allow mapping of OpenID attributes to groups, e.g list of role names for the user which gets mapped to rocket groups

Describe alternatives you've considered
-

Additional context
-

Most helpful comment

I started with a real basic implementation. Maybe somebody could have a look. It's actually working, but only adds roles/groups, currently no update:
image

All 13 comments

can somebody maybe point we to the code to change? If somebody helps we where the changes needs to be done, I'll great a PR

ask @rafaelks

@rafaelks Can you help where the relevant code would be?

I started with a real basic implementation. Maybe somebody could have a look. It's actually working, but only adds roles/groups, currently no update:
image

@rafaelks Any suggestion on this approach?

@hypery2k I'm honestly not the most appropriate person to ask this question. If your approach is working, I would say for you to open a pull-request and propose it to be merged in Rocket.Chat so other can review it. 馃憤

thanks, I filled a PR

@rafaelks Who would review my PR?

Thank you for your contribution, @hypery2k. I'll check it out.

great, thank you. It's not yet finished. But as it's my first code submission would like somebody to look first over ;)

@Hudell Any news on this?

@FaizanZahid and @rafaelks Could somebody help me to get my PR merged?

PR seems to get merged soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kiran-Rao picture Kiran-Rao  路  3Comments

zeigerpuppy picture zeigerpuppy  路  3Comments

Buzzele picture Buzzele  路  3Comments

antn89 picture antn89  路  3Comments

danpospisil picture danpospisil  路  3Comments