GithubHelp home page GithubHelp logo

isabella232 / example-sso_embed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from activecampaign/example-sso_embed

0.0 0.0 0.0 868 KB

Use SSO to link users to ActiveCampaign (bypassing the login), or embed as an iFrame.

PHP 100.00%

example-sso_embed's Introduction

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
  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:

Screenshot of script result

Reporting Issues

We'd love to help if you have questions or problems. Report issues using the Github Issue Tracker or email [email protected].

example-sso_embed's People

Contributors

mthommes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.