GitLab Login by FriendsOfFlarum
A Flarum extension. Allow users to log in with GitLab.
Use Bazaar or install manually with composer:
composer require fof/auth-gitlab
composer update fof/auth-gitlab
php flarum cache:clear
Setup via GitLab
- Go to https://gitlab.com/oauth/applications.
- Log in if prompted.
- Set the name of the application to whatever you want it to be (it doesn't really matter).
- Enter your
Redirect Uri which should be something like this:
https://myforum.com/auth/gitlab (SSL is required).
- The only scope necessary is
read_user so just tick that box.
- Copy your
Application Id and
Secret over to the extension's settings via your Flarum forum Admin CP & click "Save Settings".
- ??? ???
- PROFIT ONCE MORE!
Special thanks to @datitisev for his AMAZING Flarum development tools!
See below for tools used in this project:
Time saved during development: A LOT.