Unicon / tool13demo

LTI 1.3 Java tool with Spring boot
Apache License 2.0
21 stars 17 forks source link

Make Postman LTI Advantage Demo Possible #33

Closed mgwozdz-unicon closed 1 year ago

mgwozdz-unicon commented 1 year ago

Made it possible to test the LTI Advantage services via Postman by adding an endpoint for generating the client_assertion JWT that has to be included in the OAuth2 Token Requests to retrieve the bearer token to use the LTI Advantage services. I placed this endpoint inside the ConfigurationController so that it would have some auth behind it since this endpoint should probably be removed from production instances for security purposes. However, I think it will be extremely helpful for demonstration purposes. I included a Postman Collection that will perform these demonstrations. I also changed the name of the method that generates the client_assertion JWT as well as the logging to try to make that clearer.