oxctl / spring-security-lti13

A LTI 1.3 implementation for Spring Security that builds on the OAuth2 support
Apache License 2.0
14 stars 7 forks source link

Better error handling on initiation. #42

Closed buckett closed 1 year ago

buckett commented 1 year ago

Rather than blowing up with a 500 error when we can't find a registration, or parameters are missing we instead return a 4xx error.

404 for an unknown registration id. 400 for missing parameters.

This makes it easier for people integrating with the service to debug the errors.