6 Responses to Launching an LTI 1.3 Resource Link using OpenID Connect Third Party Login

  1. Jeff Burton's avatar Jeff Burton says:

    I just found your blog and want to thank you right away for all of this work. This very clear flow of HTTP transactions for LTI 1.3 is very helpful.

  2. Laxman Mankala's avatar Laxman Mankala says:

    Hi There,

    We are trying the develop code for POC with Blackboard for LTI1.3 tool. We have been getting the following error:
    Exception : System.InvalidCastException: Unable to cast object of type ‘Org.BouncyCastle.Crypto.Parameters.RsaPrivateCrtKeyParameters’ to type ‘Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair’.
    at AdvantageTool.Utility.PemHelper.SigningCredentialsFromPemString(String privateKey) in D:\CurrentWork\FAD\Tasks\LTI1.3\LtiAdvantageTool-master\LtiAdvantageTool-master\src\Utility\PemHelper.cs:line 92
    at AdvantageTool.Utility.PemHelper.SigningCredentialsFromPemString(String privateKey) in D:\CurrentWork\FAD\Tasks\LTI1.3\LtiAdvantageTool-master\LtiAdvantageTool-master\src\Utility\PemHelper.cs:line 112
    at AdvantageTool.Utility.AccessTokenService.GetAccessTokenAsync(String issuer, String scope) in D:\CurrentWork\FAD\Tasks\LTI1.3\LtiAdvantageTool-master\LtiAdvantageTool-master\src\Utility\AccessTokenService.cs:line 67
    at AdvantageTool.Pages.Components.LineItems.LineItemsViewComponent.InvokeAsync(String idToken) in D:\CurrentWork\FAD\Tasks\LTI1.3\LtiAdvantageTool-master\LtiAdvantageTool-master\src\Pages\Components\LineItems\LineItemsViewComponent.cs:line 51
    at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsyncCore(ObjectMethodExecutor executor, ViewComponentContext context)
    at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
    at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
    at AdvantageTool.Pages.Pages_Tool.b__35_1() in D:\CurrentWork\FAD\Tasks\LTI1.3\LtiAdvantageTool-master\LtiAdvantageTool-master\src\Pages\Tool.cshtml:line 189
    at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
    at AdvantageTool.Pages.Pages_Tool.ExecuteAsync() in D:\CurrentWork\FAD\Tasks\LTI1.3\LtiAdvantageTool-master\LtiAdvantageTool-master\src\Pages\Tool.cshtml:line 5
    at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)

    Can you throw some light over it if you even encountered such error?

  3. tdtran's avatar tdtran says:

    Thank you very much for the information.
    Could you please more instructions on Lti Test Suite at IMS.
    Thanks

  4. tijs08's avatar tijs08 says:

    indeed, incredible work, thank you, this post has saved me a lot of time

  5. Greg's avatar Greg says:

    What should I do after got this namesroleservice url? it give me error when put this url in

    {[https://purl.imsglobal.org/spec/lti-nrps/claim/namesroleservice, {{
    “context_memberships_url”: “https://localhost:44338/context/1/membership”,
    “service_versions”: [
    “2.0”
    ]
    }}]}

  6. mohammed's avatar mohammed says:

    How would you authorize your pages after the validating the id_token?

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.