rixtellab/opauth-frype

Frype (draugiem.lv) strategy for Opauth

dev-master 2015-09-03 17:22 UTC

This package is not auto-updated.

Last update: 2024-04-23 02:00:49 UTC


README

Opauth strategy for Frype (draugiem.lv) authentication.

Implemented based on https://www.draugiem.lv/applications/dev/docs/passport/

Getting started

  1. a. Install Opauth-Frype with git:
    cd path_to_opauth/Strategy
    git clone https://github.com/picolablv/opauth-frype.git Frype
  2. b. Install Opauth-Frype with composer. Add to your composer.json:
{
      "require" : {	 
        "opauth/opauth": ">=0.2.0",
        "picolablv/opauth-frype": "dev-master"
      }
    }
  1. Create Frype (Draugiem.lv) passport application at https://www.draugiem.lv/applications/dev/create/

  2. Configure Opauth-Frype strategy with at least App id and App key.

  3. Direct user to http://path_to_opauth/frype to authenticate

Strategy configuration

Required parameters:

<?php
'Frype' => array(
            'app_key' => 'YOUR APP KEY',
            'app_id' => 'YOUR APP ID'
        )

License

Opauth-Frype is MIT Licensed
Copyright © 2014 Andris Šaudinis (http://www.rixtellab.com)