Open ashutoshsoni891 opened 3 years ago
Almost an year now and no answer so far...
I'm also just someone passing by and have done a hot fix just to see the redirect at login.php, adding a $request parameter.
LTI\LTI_OIDC_Login::new(new Example_Database())
->do_oidc_login_redirect(TOOL_HOST . "/game.php", $request = [ 'iss' => 'http://localhost:9001', 'login_hint' => '123456'] )
->do_redirect();
But it would be great if the code would simply run when you spin it up. (that solves the 'Could not find issuer' error. I hadn't the 'target_link_uri' error)
Hi there! First of all , Thanks for making Php package of LTI.I am trying to hit [localhost:9001/login](localhost url) but it says :
Missing "target_link_uri" param and
Fatal error: Uncaught IMSGlobal\LTI\OIDC_Exception: Could not find issuer in /srv/app/vendor/imsglobal/lti-1p3-tool/src/lti/LTI_OIDC_Login.php:101 Stack trace: #0 /srv/app/vendor/imsglobal/lti-1p3-tool/src/lti/LTI_OIDC_Login.php(56): IMSGlobal\LTI\LTI_OIDC_Login->validate_oidc_login(Array) #1 /srv/app/web/login.php(8): IMSGlobal\LTI\LTI_OIDC_Login->do_oidc_login_redirect('http://localhos...') #2 {main} thrown in /srv/app/vendor/imsglobal/lti-1p3-tool/src/lti/LTI_OIDC_Login.php on line 101
There is no suck key exists in example.json , however I have target_link_uri : see this. I am running
docker-compose up --build
.Also after successfully running this repo , will we be certified ? because I already successfully published testing tool here :(https://lti-ri.imsglobal.org/platforms/1366)
Could you please help me out ?