CampaignMonitor strategy for Opauth

0.9 2014-06-24 21:21 UTC

This package is not auto-updated.

Last update: 2022-05-23 15:38:37 UTC


Opauth strategy for CampaignMonitor authentication.

This strategy relies on an API endpoint that is currently stable, but undocumented (https://api.createsend.com/api/v3.1/me.json).

Getting started

  1. Install Opauth-CampaignMonitor:

    Using git:

    cd path_to_opauth/Strategy
    git clone https://github.com/t1mmen/opauth-campaignmonitor.git CampaignMonitor

Or, using Composer, just add this to your composer.json:

    "require": {
        "t1mmen/opauth-campaignmonitor": "*"

Then run composer install.

  1. Create a CampaignMonitor application (see instructions)

  2. Configure Opauth-CampaignMonitor strategy with client_id, client_secret and scope (See permissions)

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

Strategy configuration

Required parameters:

'CampaignMonitor' => array(
  'client_id' => 'YOUR CLIENT ID',
  'client_secret' => 'YOUR CLIENT SECRET',
  'scope' => 'YOUR,SCOPES,HERE'


Opauth-CampaignMonitor is MIT Licensed Copyright © 2014 Timm Stokke (http://timm.stokke.me)