Skip to content

An example application showing the ChurchSuite OAuth flow implemented in PHP.

Notifications You must be signed in to change notification settings

ChurchSuite/churchsuite-oauth-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChurchSuite OAuth Example - PHP

An example implementation of the ChurchSuite OAuth flow, using the OAuth2 package from @adoy.

In order to use this script you must add a config.php file to the directory containing:

<?php
define('CLIENT_IDENTIFIER', 'YOUR_CLIENT_ID');
define('CLIENT_SECRET', 'YOUR_CLIENT_SECRET');
define('CLIENT_ENDPOINT', 'https://yourchurch.churchsuite.com/oauth');
?>

Your client endpoint will need to have the same top-level domain that you see when you are logged in to ChurchSuite. For example you may need to change the ".com" to ".co.uk".

Once your config.php is setup you will be able to view the first page when served by a web server.

About

An example application showing the ChurchSuite OAuth flow implemented in PHP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published