Opauth strategy for Frype (draugiem.lv) authentication.
Implemented based on https://www.draugiem.lv/applications/dev/docs/passport/
- a. Install Opauth-Frype with git:
cd path_to_opauth/Strategy git clone https://github.com/picolablv/opauth-frype.git Frype
- b. Install Opauth-Frype with composer. Add to your composer.json:
{
"require" : {
"opauth/opauth": ">=0.2.0",
"picolablv/opauth-frype": "dev-master"
}
}
-
Create Frype (Draugiem.lv) passport application at https://www.draugiem.lv/applications/dev/create/
-
Configure Opauth-Frype strategy with at least
App id
andApp key
. -
Direct user to
http://path_to_opauth/frype
to authenticate
Required parameters:
<?php
'Frype' => array(
'app_key' => 'YOUR APP KEY',
'app_id' => 'YOUR APP ID'
)
Opauth-Frype is MIT Licensed
Copyright © 2014 Andris Šaudinis (http://www.rixtellab.com)