1EdTech / lti-1-3-php-library

Apache License 2.0
117 stars 105 forks source link

how to generate an RSA private key and a matching JWK? #64

Open uc-sgu opened 3 years ago

uc-sgu commented 3 years ago

Hello,

I am working to implement LTI 1.3 and I need help with the RSA key and JWK.

how to generate an RSA private key and a matching JWK for LTI 1.3 integration?

kpommerenke commented 2 years ago

Did you look at https://github.com/IMSGlobal/lti-1-3-php-library#creating-a-jwks-endpoint?

uc-sgu commented 2 years ago

Thanks.

Should I always generate a new RSA key for every new LTI 1.3 integration?

How can I generate an RSA key for LTI 1.3 integration?

Can you please confirm?

BurninLeo commented 1 year ago

I wonder if providing a JWS URL is part of lti-php or not? On the one hand, lti-php supports LTI 1.3, and the chapter "Initialising a tool" in the documentation explains where a RSA key needs to be placed. On the other hand it seems that one needs something like https://gist.github.com/kmuenkel/37ead59ff01f56ee881744c11360b00c to tell the platform the public key. Is that correct or did I miss an important feature of lti-php?