https://github.com/activecampaign/example-sso_embed
Use SSO to link users to ActiveCampaign (bypassing the login), or embed as an iFrame.
https://github.com/activecampaign/example-sso_embed
Last synced: about 1 year ago
JSON representation
Use SSO to link users to ActiveCampaign (bypassing the login), or embed as an iFrame.
- Host: GitHub
- URL: https://github.com/activecampaign/example-sso_embed
- Owner: ActiveCampaign
- Created: 2013-01-31T15:41:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-11-27T16:32:37.000Z (over 11 years ago)
- Last Synced: 2025-04-01T16:08:01.376Z (about 1 year ago)
- Language: PHP
- Size: 848 KB
- Stars: 6
- Watchers: 9
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ActiveCampaign Custom API Script: Use SSO to link users to ActiveCampaign (bypassing the login), or embed as an iFrame.
## Requirements
1. [Our PHP API library](https://github.com/ActiveCampaign/activecampaign-api-php)
2. A web server where you can run PHP code
## Installation and Usage
You can install **example-sso_embed** by downloading (or cloning) the source.
Input your ActiveCampaign URL and API Key at the top. Example below:
$api_url = "https://ACCOUNT.api-us1.com";
$api_key = "4f3c6d12f0.....00ca273778dc893";
Also add values for the SSO variables at the top. Example below:
$sso_ip_address = "127.0.0.1";
$sso_username = "user1"; // can also use email address here
$sso_duration = "30";
Make sure the path to the PHP library is correct:
require_once("../../activecampaign-api-php/includes/ActiveCampaign.class.php");
Refresh the page and you should see a link to ActiveCampaign, and an iFrame showing ActiveCampaign:

## Documentation and Links
* [ActiveCampaign Single Sign-On](http://www.activecampaign.com/blog/activecampaign-single-sign-on/)
* [SSO API documentation](http://www.activecampaign.com/api/example.php?call=singlesignon)
## Reporting Issues
We'd love to help if you have questions or problems. Report issues using the [Github Issue Tracker](issues) or email help@activecampaign.com.