• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Integrating Adobe Connect with PHP for SSO

New Here ,
Jun 10, 2014 Jun 10, 2014

Copy link to clipboard

Copied

Hi,

I am new to adobe connect. Can you please provide sample code or procedure to do so?

How can I integrate adobe connect to create rooms with php site ?

Please help me on this.

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 11, 2014 Jun 11, 2014

Copy link to clipboard

Copied

All API documentation is available here: Adobe Connect | Adobe Developer Connection

You will want the Connect 9 Web Services guide.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

Hi Jorma,

Thanks for your reply. I have read this and using this and curl with php to integrate single sign on. I am using this code:

<?php

session_start();

header('content-type:text/html; charset=utf-8');

$email=$_POST['email'];

$password=$_POST['password'];

$ch = curl_init('https://groupmeditate.adobeconnect.com/api/xml?action=common-info');

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$data = curl_exec($ch);

if ($data === false) {

      exit('Error1, ' . curl_error($ch) . "\n");

}

curl_close($ch);

$user = simplexml_load_string($data);

function object2array($object)

{

return @json_decode(@json_encode($object),1);

}

$datas = object2array($user);

//print_r($datas);

$status_code=$datas['status']['@attributes']['code'];

$accountid=$datas['common']['account']['@attributes']['account-id'];

if($status_code=="ok"){

      $confses = $user->common->cookie;

}else {

      exit("error1");

}

//echo "https://groupmeditate.adobeconnect.com/api/xml?action=login&login=$email&password=$password&account-...";

$ch = curl_init("https://groupmeditate.adobeconnect.com/api/xml?action=login&login=$email&password=$password&account-...");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$s = curl_exec($ch);

if ($s === false) {

      exit('Error2, ' . curl_error($ch) . "\n");

}

curl_close($ch);

echo $login->status[code];

$login = simplexml_load_string($s);

if($login->status

=="ok"){

?>

<a href="https://groupmeditate.adobeconnect.com/testing/">Enter Chat</a>

<?php

}

?>

But when clicking on "Enter Chat" link, its goes to adobe connect login page. Please help me with this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

You should call the session ID in the link to the meeting room (Enter Chat link). I believe that will pass the user credentials.

http://groupmediate.adobeconnect.com/testing/?session=$confses

Step 4 in this process: Adobe Connect 9 * Launch meetings with external authentication

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

I really appreciate that you are giving your valuable time. But unfortunately, its also not working. I am redirected to login page after passing session id too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 01, 2014 Jul 01, 2014

Copy link to clipboard

Copied

Are you calling for the session ID before or after you log in the user (sorry, not a developer so I'm not going to make assumptions based on your code)? Connect will provide a session ID when you call it and a new one when you log in. It may be that you are just using the first session ID which wouldn't have any log in credentials.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 01, 2014 Jul 01, 2014

Copy link to clipboard

Copied

LATEST

Initially, I was using first session id but now I am using second session id and still facing the same error.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines