Gitlab OAuth SSO provider #302

Closed
opened 2026-02-04 18:21:43 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @MitchMaris on GitHub (Mar 25, 2017).

Gitlab OAuth SSO provider (self hosted, not gitlab.com)

Hi,

It would be great if you could show me how to integrate my self hosted gitlab server's SSO OAuth provider into BookStack.

I'm not afraid of coding, and Will pull a copy down onto my dev box but I figured if you could point/show me where I need to modify or have this feature added I'd be very grateful.

Originally created by @MitchMaris on GitHub (Mar 25, 2017). Gitlab OAuth SSO provider (self hosted, not gitlab.com) Hi, It would be great if you could show me how to integrate my self hosted gitlab server's SSO OAuth provider into BookStack. I'm not afraid of coding, and Will pull a copy down onto my dev box but I figured if you could point/show me where I need to modify or have this feature added I'd be very grateful.
OVERLORD added the 🛠️ Enhancement label 2026-02-04 18:21:43 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Apr 3, 2017):

Hi @MitchMaris, Sorry for my delayed response.

Adding new providers is fairly simply to do if you have some prior knowledge of the Laravel framework.
Laravel has a social login provider framework called 'Socialite' which makes adding new social provides quite quick. In fact, someone has already created a provider for GitLab.

The following page would be a good place to start:
http://socialiteproviders.github.io/providers/gitlab/

It has steps for installing into an application. There's going to be a few BookStack specific things as well but I'm happy to help if you take a crack at coding this.

@ssddanbrown commented on GitHub (Apr 3, 2017): Hi @MitchMaris, Sorry for my delayed response. Adding new providers is fairly simply to do if you have some prior knowledge of the Laravel framework. Laravel has a social login provider framework called 'Socialite' which makes adding new social provides quite quick. In fact, someone has already created a provider for GitLab. The following page would be a good place to start: http://socialiteproviders.github.io/providers/gitlab/ It has steps for installing into an application. There's going to be a few BookStack specific things as well but I'm happy to help if you take a crack at coding this.
Author
Owner

@MitchMaris commented on GitHub (Apr 3, 2017):

sounds good. I'll setup a dev vm and pull the code. If it ends up working, maybe I'll make a push request. Thanks for the info!

@MitchMaris commented on GitHub (Apr 3, 2017): sounds good. I'll setup a dev vm and pull the code. If it ends up working, maybe I'll make a push request. Thanks for the info!
Author
Owner

@ssddanbrown commented on GitHub (Feb 4, 2018):

Added in #691, Will be in the next release (v0.20).

@ssddanbrown commented on GitHub (Feb 4, 2018): Added in #691, Will be in the next release (v0.20).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#302