fof/auth-gitlab

This package is abandoned and no longer maintained. The author suggests using the fof/oauth package instead.

Allow users to log in with GitLab.

Fund package maintenance!
Open Collective

Installs: 97

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 2

Open Issues: 0

Type:flarum-extension

0.2.0 2020-09-18 05:35 UTC

This package is auto-updated.

Last update: 2020-10-25 15:21:50 UTC


README

License Latest Stable Version

A Flarum extension. Allow users to log in with GitLab.

Installation

Install manually with composer:

composer require fof/auth-gitlab

Updating

composer update fof/auth-gitlab
php flarum cache:clear

Setup via GitLab

  1. Go to https://gitlab.com/oauth/applications.
  2. Log in if prompted.
  3. Set the name of the application to whatever you want it to be (it doesn't really matter).
  4. Enter your Redirect Uri which should be something like this: https://myforum.com/auth/gitlab (SSL is required).
  5. The only scope necessary is read_user so just tick that box.
  6. Copy your Application Id and Secret over to the extension's settings via your Flarum forum Admin CP & click "Save Settings".
  7. (Optional) You can also add an optional base URL for self-hosted instances if needed.
  8. ??? ???
  9. PROFIT ONCE MORE!

Links

Notes

Acknowledgements

Special thanks to @datitisev for his AMAZING Flarum development tools!

See below for tools used in this project:

Time saved during development: A LOT.