2017 © Pedro Peláez
 

silverstripe-module silverstripe-google-authenticator

Adds Google authentication to SilverStripe

image

xpointo/silverstripe-google-authenticator

Adds Google authentication to SilverStripe

  • Monday, December 21, 2015
  • by xpointo
  • Repository
  • 7 Watchers
  • 9 Stars
  • 395 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SilverStripe Google Authenticator

Introduction

This module enables Google authentication on SilverStripe., (*1)

It works by matching the email address obtained from Google login with the email address in the SilverStripe user account list, and logs in the user if there is a match., (*2)

Requirements

Installation

via composer

composer require "xpointo/silverstripe-google-authenticator:dev-master", (*3)

Configuration

  1. Obtain the Google OAuth Client ID & Client Secret by following the instructions in the Google API Documentation
  2. For the redirect uris setting in the Google OAuth configuration, please include the URL:
    • http://[yoursitename]/GoogleAuthenticatorController/callback
  3. Define the Google OAuth Client ID & Client Secret in your _ss_environment.php or mysite/config.php file.
define('GOOGLE_AUTHENTICATOR_CLIENT_ID', '[google-oauth-client-id]');
define('GOOGLE_AUTHENTICATOR_CLIENT_SECRET', '[google-oauth-client-secret]');

The Versions

21/12 2015

dev-master

9999999-dev

Adds Google authentication to SilverStripe

  Sources   Download

The Requires

 

authentication auth google silverstripe