MDL-62599 mod_lit: Missing end of function
This commit is contained in:
committed by
Jake Dallimore
parent
1bc7f99bf7
commit
408cb8d64c
@@ -3090,6 +3090,10 @@ function lti_sign_jwt($parms, $endpoint, $oauthconsumerkey, $typeid = 0, $nonce
|
||||
$kid = get_config('mod_lti', 'kid');
|
||||
$jwt = JWT::encode($payload, $privatekey, 'RS256', $kid);
|
||||
|
||||
$newparms = array();
|
||||
$newparms['id_token'] = $jwt;
|
||||
|
||||
return $newparms;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user