Giter VIP home page Giter VIP logo

flarum-ext-oauth-google's Introduction

Flarum Google Authenticator

Allows users to login using their Google Account.

Installation

To install, use composer:

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


  1. Go to the Google API Console: https://console.developers.google.com/project/_/apiui/apis/library
  2. Create a new project in the dropdown at the top and give it a name (eg My Flarum)
  3. Once on the project dashboard, search for Google+ and enable the API
  4. In the sidebar under "API Manager", select Credentials, then select the OAuth consent screen tab.
  5. Choose an Email Address, specify a Product Name, and press Save.
  6. In the Credentials tab, select the New credentials drop-down list, and choose OAuth client ID.
  7. Select Web Application
  8. The Authorized Javascript origin will be your domain: http://flarum.example.com
  9. The Authorised redirect URIs will be http://flarum.example.com/auth/google (notice it ends in /auth/google
  10. 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.