Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.

Login/Link using BLTI

Hi!

I'm trying to set up a BLTI Form (as a Tool Consumer) for Panopto. I already created an BLTI identity provider. I always get a "HTTP 500" error from https://xxxx/Panopto/LTI/LTI.aspx

My goal is to authenticate a user to panopto, using BLTI (so the user is signed in to Panopto from within our LMS via a click).

currently i am sending this parameters in the form (POST):

lti_message_type = basic-lti-launch-request

lti_version = LTI-1p0

user_id = <name identity provider>\<user name>

oauth_consumer_key = <public key of IP>

oauth_signature_method = HMAC-SHA1

oauth_timestamp = 1636363829 (f.e. - the return of a php time() call)

oauth_version = 1.0

oauth_signature = <signature>


Are there any params missing? Do you have an example (PHP) of how to create the oauth signature? currently i am using this php code:

$params = array(

"lti_message_type" => "basic-lti-launch-request",

"lti_version" => "LTI-1p0",

"user_id" => $config->name . "\\" . $user_name,

"oauth_consumer_key" => $config->lti_key,

"oauth_signature_method" => "HMAC-SHA1",

"oauth_timestamp" => time(),

"oauth_version" => "1.0",

);

$base_string = "POST&" . urlencode($launch_url) . "&" . rawurlencode(implode("&", $params));

$secret = urlencode($config->lti_secret) . "&";

$signature = base64_encode(hash_hmac("sha1", $base_string, $secret, true));



Thanks for your help,

Stefan

Answers

  • Joe MalmstenJoe Malmsten Panopto Employee

    Hi,


    For this kind of issue we would need you to make a support ticket at https://support.panopto.com to be able to give you more assistance.


    Thanks,

    Joe Malmsten

Sign In or Register to comment.