crozdesk/opauth-crozdesk

Crozdesk strategy for Opauth

dev-master 2015-04-15 13:06 UTC

This package is not auto-updated.

Last update: 2024-03-20 06:12:43 UTC


README

Opauth strategy for Crozdesk authentication

Getting started

  1. Install opauth-crozdesk:
cd path_to_opauth/Strategy
git clone https://github.com/crozdesk/opauth-crozdesk.git Crozdesk
  1. Go to https://crozdesk.com/users/developers, grab the API key and secret and make sure the callback url points to http://path_to_opauth/crozdesk/oauth2callback

  2. Configure the Crozdesk strategy in opauth.conf.php

Opauth strategy configuration

Required parameters:

<?php
$config = array(
  ... # Opauth settings like path/callback_url, etc

  'Strategy' => array(
    'Crozdesk' => array(
      'client_id' => 'API KEY',
      'client_secret' => 'API SECRET'
    ),
  ),
);
?>

References