Name: opauth-tb
Owner: University of Washington Clinical Informatics Research Group
Description: OAuth2 strategy for https://github.com/uwcirg/tb-mobile-app
Created: 2018-02-28 21:38:42.0
Updated: 2018-02-28 21:39:01.0
Pushed: 2018-03-07 03:51:49.0
Homepage: null
Size: 6
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Opauth strategy for Truenth authentication.
Implemented based on http://developer.github.com/v3/oauth/ using OAuth2.
Opauth is a multi-provider authentication framework for PHP.
Demo: http://opauth.org/#github
Install Opauth-Truenth:
pp/Plugin/Opauth/Strategy
clone https://github.com/uwcirg/opauth-truenth.git Truenth
Register the Truenth application/intervention at the appropriate
Truenth Portal URL, i.e. https://truenth-demo.cirg.washington.edu/client
Enter Authorized URL: (i.e. the callback URL for the
application/intervention being install i.e.
http://fqdn/application-path/truenth/oauth2callback
Configure Opauth-Truenth strategy with client_id
and client_secret
returned from the portal /client
request.
Direct user to http://fqdn/application-path/truenth
to authenticate
Required parameters:
p
Hub' => array(
'authorize_url' => 'PORTAL AUTHORIZE URL',
'access_token_url' => 'PORTAL TOKEN URL',
'base_url' => 'PORTAL API URL',
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET'
Optional parameters:
scope
, state
Opauth-Truenth is MIT Licensed
Copyright © 2015 University of Washington