-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Feat: add GitLab authentication #2555
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
The donation of this PR is a Sunday afternoon's project to congratulate for the latest merge of real-time collaboration. |
You could also accomplish this with GitLab as an OIDC provider. Personally not sure of the utility of maintaining Gitlab as a separate auth strategy besides the groups support, which I think someone was going to add to the OIDC strategy here #2568. |
The last commit removes the I consider having a native connector useful, due to requiring less boilerplate for a connection between the platforms, and offering the GitLab icon as a hint to the user where they are originating from. Indeed if #2568 helps to use groups support through the generic OIDC provider already, and helps us to avoid adding another dependency to Additionally, this kind of addon here, one that adds dependencies, might also be a good chance to try out approaches for #2219 instead. As a side note, if this would be merged, we'd happily run an instance with different Teams for authenticated GitLab groups. Until this is not available on |
I am not sure if Gitlab provides group information on the JWT; in fact I'm pretty sure they don't, in which case #2568 isn't going to help with that. |
I have tested #2568 with a merged Apparently there is an error with the group creator that times out
but already looks almost usable. Also it seems that emails are sent synchronously during the callback, but that should be another issue. Edit: Also, proper groups support would mean we also wanted to enable subdomain groups for self-hosted installs, which is presumably officially not supported. |
GitLab can be integrated as an OIDC provider. It does not get the lovely icon, but that's about all that's missing. |
This adds GitLab authentication support to Outline.
It is based on #2101 by @ChetanGoti and adds the groups support prototyped in jakoblorz#2.