Author:
remie
Version:
0.1.0
Released:
28 September 2011
Category:
Events, Membership, and Third Party Integration

Description

GitHub OAuth

Installation

  1. Download the GitHub OAuth extension and upload the githuboauth folder to the extensions folder.
  2. Enable the extension by selecting GitHub OAuth in the list and choose Enable from the with-selected menu, then click Apply.
  3. Edit the application credentials and scope in the Preferences screen

Usage

After installing this extension and providing the required information you can use it by adding the GitHub Authentication event to one of your pages.

The event is triggered automatically and will redirect the user to the GitHub login page. Upon granting permission the user is redirected back to the application and the authentication token is retrieved.

A github event is added to the event XML in your page output. If the authentication is successful, the token is added as attribute.

It is advised to only use this token server-side. Based on the application scope it might provide read/write access to User information and repositories on GitHub. You can either retrieve it from the event list or access the 'tokenvalue from thegithub` session cookie in your custom events.

Roadmap

The plan is to further develop this extension with several events to allow specific user information to be added to the output XML for usage in XSLT templates.

Version History

0.1.0

  • initial release of this extension

Repository

https://github.com/symphony-dev/GitHubOAuth

Discuss this Extension

Compatibility

2.7.10 Unsure
2.7.9 Unsure
2.7.8 Unsure
2.7.7 Unsure
2.7.6 Unsure
2.7.5 Unsure
2.7.4 Unsure
2.7.3 Unsure
2.7.2 Unsure
2.7.1 Unsure
2.7.0 Unsure
2.6.11 Unsure
2.6.10 Unsure
2.6.9 Unsure
2.6.8 Unsure
2.6.7 Unsure
2.6.6 Unsure
2.6.5 Unsure
2.6.4 Unsure
2.5.4 Unsure

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details