Closed ionparticle closed 3 years ago
Hello @ionparticle
Thx for feedback.
You can configure an external platform that provided only JWKS, this way:
registrations:
example:
client_id: "client_id"
platform: "externalPlatform"
tool: "myTool"
deployment_ids:
- "1"
- "2"
platform_key_chain: null
tool_key_chain: "toolKey"
platform_jwks_url: "https://external-platform/.well-known/jwks"
tool_jwks_url: "https://my-tool/lti1p3/.well-known/jwks/toolSet.json"
I think it's because you removed the platform_key_chain
instead of putting it to null (as in example above)
Also, if you need more details how this bundle internally works with JWKS vs key files, you can check here.
Can you confirm it works with platform_key_chain: null
?
If yes, let me know so we can close this issue .
Hello @ionparticle
I tested to be sure with null value as described above, it works.
I close the issue.
Thx again for feedback !
You're right, null worked for me, thanks for the clarification.
May I suggest changing the documentation, for clarity, to say that these are "nullable" values instead of "optional"? When I see optional, as a user, I usually think "can be omitted" rather than "can be nulled" (e.g.: command line parameters, php function optional parameters).
An external platform using JWKS doesn't need a key chain, but if you leave the platform_key_chain config out, you get an 500 error complaining about undefined array key "platform_key_chain".