Verwaltung der Gruppenmitgliedschaft via Authentifizierung

Note that I’ve made an updated draft PR with a new approach (incorporating changes requested by @david on my last attempt). As mentioned in the comments to the PR, I’m looking to finish it off sometime this week.

https://github.com/discourse/discourse/pull/14835

3 „Gefällt mir“

Just so I’m not getting myself excited for no reason — this says “google”… will it also work with non-google oauth2 sso?

2 „Gefällt mir“

It’s a generic system, but the first supported use case will be groups in a google workspace. Once the system is in place adding support for additional providers will not be too difficult.

5 „Gefällt mir“

Note that this PR was moved from draft to published over the weeknd (i.e. it’s ready for review again).

https://github.com/discourse/discourse/pull/14835

5 „Gefällt mir“

I just merged this PR - huge thanks for all your work here @angus! Excited to see how this gets used and extended going forward! :confetti_ball:

I’ve labelled the site setting “Experimental” for now, to give us some time to test it out and make sure everything is working smoothly. Once we’re confident, and we’ve added support in a few more authentication providers, I’ll be sure to make a #feature:announcements topic for the feature.

8 „Gefällt mir“

Awesome! :slight_smile:

Thank you David. It wouldn’t have happened without your support. Happy to help with adding additional providers.

6 „Gefällt mir“

YES! Thank you everyone. We’re planning to use this extensively in Fedora once it works with oauth2.

5 „Gefällt mir“

I’m also excited for this to be available for non-Google oauth2/openID logins…any update on if/when that option might be available?

5 „Gefällt mir“

We don’t have a specific timeline, but it’s certainly pr-welcome if anyone would like to submit a patch

5 „Gefällt mir“

Looking forward to this as well! The use case for us is to pull group membership from Keycloak on authentication.

8 „Gefällt mir“

I am currently self-hosting Discourse and using Authentik as my identity provider for authentication. What I would like to achieve is to automatically synchronize users’ groups from Authentik with specific groups in Discourse upon login.

But… I want to ensure that local users who sign up through Discourse’s local registration process do not get assigned to these specific groups and instead follow the normal trust level progression.

2 „Gefällt mir“