Postponed
Project:
LTI Tool Provider
Version:
3.0.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2023 at 07:59 UTC
Updated:
24 Jun 2026 at 21:19 UTC
Jump to comment: Most recent
I am integrating Moodle LMS with a Drupal based learning tool through LTI1.3
But i am getting below error : Internal OIDC initiation server error
Anybody can have a solution for this issue?
Possible any configuration issues ?
Any helps appreciated.
Comments
Comment #2
diegoluisr commentedI had the same issue, the cause was a misconfigured set of variables.
Comment #3
fishfree commented@diegoluisr How do you solve it? On my side, there is no related log messages in Drupal.
Comment #4
bob.hinrichs commentedI looked at this against the 3.0.0 release. I can't confirm it's fixed, and it may be a configuration issue rather than a code defect.
"Internal OIDC initiation server error" isn't emitted by this module directly — it's the generic 500 the oat-sa OidcInitiationRequestHandler returns whenever OIDC initiation throws. That typically happens when no Consumer registration matches the incoming iss/client_id, or the registration can't be built (e.g. a key reference that doesn't resolve). That matches the earlier note about misconfigured variables, and explains why nothing shows in watchdog (the rendered 500 doesn't log the underlying exception here).
3.0.0 reworked LTI 1.3 auth/registration handling and upgraded oat-sa/lib-lti1p3-core to 7.x, but there's no targeted change to the initiation path. If anyone can still reproduce on 3.0.0, please: (1) confirm the Consumer's platform_id exactly matches the iss your LMS
sends and client_id matches the LMS-issued id, and (2) capture the actual exception/stack trace (PHP error log, or temporarily wrap the handler call in LTIToolProviderV1P3Login) and paste it here. Without a trace this looks like registration/config resolution rather than a fixed defect.