flarum-extension flarum-ext-oauth-google
Allow users to log in with Google.
johnhearfield/flarum-ext-oauth-google
Allow users to log in with Google.
- Tuesday, July 24, 2018
- by JohnHearfield
- Repository
- 1 Watchers
- 9 Stars
- 2,117 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 5 Forks
- 1 Open issues
- 4 Versions
- 10 % Grown
Flarum Google Authenticator
, (*1)
Allows users to login using their Google Account., (*2)
Installation
To install, use composer:, (*3)
composer require johnhearfield/flarum-ext-oauth-google
Usage
- Install extension via Composer / Packagist
- Enable extension in the admin/extensions of Flarum
- Fill in the settings field for the extension
## Setup instructions for Google
- Go to the Google API Console: https://console.developers.google.com/project/_/apiui/apis/library
- Create a new project in the dropdown at the top and give it a name (eg My Flarum)
- Once on the project dashboard, search for Google+ and enable the API
- In the sidebar under "API Manager", select Credentials, then select the OAuth consent screen tab.
- Choose an Email Address, specify a Product Name, and press Save.
- In the Credentials tab, select the New credentials drop-down list, and choose OAuth client ID.
- Select Web Application
- The Authorized Javascript origin will be your domain: http://flarum.example.com
- The Authorised redirect URIs will be http://flarum.example.com/auth/google (notice it ends in /auth/google
- From the resulting OAuth client dialog box, you will be able to access the Client ID and the Client Secret will you will need to paste into the settings box on the Flarum extension
Notice
The Hosted Domain paramater is for only allowing emails in your Google Apps account access, otherwise you should leave it blank, (*4)
dev-master
9999999-dev
Allow users to log in with Google.
Sources
Download
GPL-3.0+
The Requires
by
John Hearfield
authentication
v0.1.0-beta.8.1
0.1.0.0-beta8.1
Allow users to log in with Google.
Sources
Download
MIT
The Requires
by
John Hearfield
authentication
v0.1.0-beta.8
0.1.0.0-beta8
Allow users to log in with Google.
Sources
Download
MIT
The Requires
by
John Hearfield
authentication
v0.1.0-beta.7
0.1.0.0-beta7
Allow users to log in with Google.
Sources
Download
MIT
The Requires
by
John Hearfield
authentication