Add an endpoint where users can validate their tokens
Compare changes
@@ -39,7 +39,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
Adds an endpoint where authorized users can request their information. This allows users to verify their own token.
None.
Spring makes it very difficult (if not impossible) to test endpoints with an Authorization dependency, so no test unfortunately.
To be filled in by the reviewers