2017 © Pedro Peláez
 

library github

GitHub authentication strategy for Opauth

image

opauth/github

GitHub authentication strategy for Opauth

  • Sunday, June 3, 2018
  • by Ceeram
  • Repository
  • 8 Watchers
  • 21 Stars
  • 5,735 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 8 Forks
  • 1 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Opauth-GitHub

[Opauth][1] strategy for GitHub authentication., (*1)

Implemented based on http://developer.github.com/v3/oauth/ using OAuth2., (*2)

Opauth is a multi-provider authentication framework for PHP., (*3)

Demo: http://opauth.org/#github, (*4)

Getting started

  1. Install Opauth-GitHub:, (*5)

    cd path_to_opauth/Strategy
    git clone git://github.com/opauth/github.git GitHub
    

    or, (*6)

    composer require opauth/github
    
  2. Register a GitHub application at https://github.com/settings/applications/new, (*7)

    • Enter URL as your application URL (this can be outside of Opauth)
    • Callback URL: enter http://path_to_opauth/github/oauth2callback
  3. Configure Opauth-GitHub strategy with client_id and client_secret., (*8)

  4. Direct user to http://path_to_opauth/github to authenticate, (*9)

Strategy configuration

Required parameters:, (*10)

<?php
'GitHub' => array(
    'client_id' => 'YOUR CLIENT ID',
    'client_secret' => 'YOUR CLIENT SECRET'
)

Optional parameters: scope, state, (*11)

License

Opauth-GitHub is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com), (*12)

The Versions

03/06 2018

dev-master

9999999-dev http://opauth.org

GitHub authentication strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth github

07/04 2014

1.0.x-dev

1.0.9999999.9999999-dev http://opauth.org

GitHub authentication strategy for Opauth

  Sources   Download

MIT

The Requires

 

by Avatar Ceeram

authentication auth github

23/07 2012

0.1.0

0.1.0.0 http://opauth.org

GitHub authentication strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth github