question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Canvas: {Message}:{"Could not validate request."}?

See original GitHub issue

LTI Application does not load error: {“Message”:“Could not validate request”}

Describe the issue I’m in the process of connection our self hosted canvas. We get {Message}:{“Could not validate request.”}.

Following the: LTI Application does not load error: {“Message”:“Could not validate request”} dit not resolve the issue.

In LtiAdvantageLaunch I found this exception:

Could not validate request. Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException: IDX10205: Issuer validation failed. Issuer: ‘System.String’. Did not match: validationParameters.ValidIssuer: ‘System.String’ or validationParameters.ValidIssuers: ‘System.String’. at Microsoft.IdentityModel.Tokens.Validators.ValidateIssuer(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateIssuer(String issuer, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Edna.Bindings.LtiAdvantage.Utils.LtiAdvantageExtensions.GetValidatedLtiLaunchClaims(HttpRequest request, String jwkSetUrl, String clientId, String issuer) in C:\Users\lti-user\Documents\LTI-tool\Learn-LTI\backend\Bindings\Edna.Bindings.LtiAdvantage\Utils\LtiAdvantageExtensions.cs:line 46 at Edna.Bindings.LtiAdvantage.Services.LtiResourceLinkRequestClient.GetLtiResourceLinkRequest(String jwkSetUrl, String clientId, String issuer) in C:\Users\lti-user\Documents\LTI-tool\Learn-LTI\backend\Bindings\Edna.Bindings.LtiAdvantage\Services\LtiResourceLinkRequestClient.cs:line 25 at Edna.Connect.LtiAdvantageApi.LtiAdvantageLaunch(HttpRequest req, ILtiResourceLinkRequestClient ltiRequestClient, INrpsClient nrpsClient, Platform platform, IAsyncCollector`1 assignmentsCollector, IDurableEntityClient entityClient, String platformId) in C:\Users\lti-user\Documents\LTI-tool\Learn-LTI\backend\Functions\Edna.Connect\LtiAdvantageApi.cs:line 86

I use https://canvas.instructure.com as Issuer?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Soloresqcommented, Jun 30, 2021

@leestott Yes, for me that made it work. Yes, the comments in the issue you mentioned helped me a lot.

1reaction
pkelderscommented, May 20, 2021

Hello,

Thank you for the reply, Next week we will look into this.

Op 20 mei 2021 om 11:19 heeft Lee Stott @.***> het volgende geschreven:

@pkelders

Sorry did the above unblock you if not please contact us via email and we will happy schedule a call @.***

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Validating Links in Content Does Not Work!!
I see the message that says "Links to other courses in this resource may not be accessible by the students in this course",...
Read more >
Learn-LTI/TROUBLESHOOTING.md at main - GitHub
LTI Application does not load error: {"Message":"Could not validate request"} · Check if you have a valid 3rd Party Signed SSL. · Check...
Read more >
OAuth LTI Error: Request not validating? - Stack Overflow
Currently, I cannot get Oauth requests to validate using the following: authenticator = IMS::LTI::Services::MessageAuthenticator.new ...
Read more >
LTI 1.3 Troubleshooting and Technical Documentation for ...
Common Error Messages. The LTI 1.3 tool must be installed by the openNCCC Administrator and the LMS Administrator. It can't be installed by ......
Read more >
Validate or show a message in label, if field is empty
Solved: I have a dialogbox in Powerapp, where approver has to key-in the reason for not approving the request. This field is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found