Skip to content

Add option to use a custom field for GitHub user matching #119

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

Conversation

jessfraz
Copy link

@jessfraz jessfraz commented Jan 5, 2025

We use DiscourseConnect to integrate with our SSO which already has user's github user name.

We trust this information, and pass it along to discourse as a custom user field that cannot be edited.

This updates the plugin to optionally look at a custom user field if it is set.

Caveats: I'm not a ruby dev so I don't really know what I am doing but we are actively testing this in production.

Signed-off-by: Jess Frazelle <[email protected]>
Signed-off-by: Jess Frazelle <[email protected]>
Signed-off-by: Jess Frazelle <[email protected]>
Signed-off-by: Jess Frazelle <[email protected]>
@jessfraz
Copy link
Author

jessfraz commented Jan 6, 2025

we are running this in prod and it works great!

@davidtaylorhq
Copy link
Member

Plugin moving to core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants