Problem/Motivation

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

ppshameer created an issue. See original summary.

diegoluisr’s picture

I had the same issue, the cause was a misconfigured set of variables.

fishfree’s picture

@diegoluisr How do you solve it? On my side, there is no related log messages in Drupal.

bob.hinrichs’s picture

Version: 2.0.4 » 3.0.0
Status: Active » Postponed

I 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.